The script needs to run every 15 minutes.
It needs to check against a phone system log file for certain events in the last 15 minutes.
If it finds any log entries that contain "XYZ", it needs to count the number of lines. This is an incoming scenario.
If it finds any log entries that contain "abc", it needs to count the number of these lines. This is an outgoing scenario.
Then if either of these scenarios are greater than 0 it needs to send an email via the mail command.
To: xyz@[login to view URL]
Subject: Phone Error
Incoming = 2
Outgoing = 4
A sample log file will be provided.
I cannot grant access to this server so you will have to provide the script and instructions for installation.
I don't want to install any additional packages of software on the server.
The server is running CentOS 7.
18 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hello How are you i have full time and I can start to work immediately Please contact me and do let us discuss about your project Thanks for your posting
hi I have 6 years of experience in Linux and I can write shell script for your requirement within 1 hrs. also I will support you for any modification in the script in future.
Greetings. I will write script on Python 2.6 so no additional libraries will be needed. Also, I'll provide brief instruction on how to properly install it and create crontab rule for it.