I need a script that will tail a logfile, and check for a specific keyword. example "message" it will have to count the call1 and call2 or whatever it will say before the @ sign but only if the line contains the word "message". it needs to count if this occurs more than 3 times in 5 seconds. if it does, it needs to kill the script called [url removed, login to view] or [url removed, login to view] (whichever call has occured in the past 5 seconds 3 times.
-- Executing [call1@calling:6] BackGround("SIP/flowroute-00011eee", "message") in new stack
-- Executing [call2@calling:6] BackGround("SIP/flowroute-00011eee", "message") in new stack
after it stops [url removed, login to view] it will start [url removed, login to view] after 5 minutes, and if the above occurs, stop it again, then wait another 5 minutes, and then start again.
23 freelancers are bidding on average $94 for this job
Hello, I have over 9 years experience as an Linux admin and experience with bash scripting. I am able to do this project. Please feel free to ask if you have any questions. Thank you
Dear Sir, I am Professional Software Developer, I am Linux Advanced Developer, I am Database Developer and designer. I can Handle your job and do everything extremely Grate. Regards,
Hi, I can help you with this. Should be easy to write such a script, the only thing that will also have to be done by this script will be the removal of the old logs(or their arhiving). Thanks.