script to check host status and report email in certaion losses
Dear all,
I am new to scripting and i am wanting to perform a task that checks the status of a host by ping and to be ran in every hours such that it reports emails if the losses reaches above 10%. How can i perform this task? Any helps will be appreciated. Thanks, Franklin |
plenty of scripts already out there is you look... https://www.google.co.uk/search?q=pi...eck+cron+email
|
Re: script to check host status and report email in certaion losses
Dear acid_kewpie,
Thanks for your response and i have tried most of all these stuffs which only generates if down. What i want is, i want a script that alerts only when losses reaches certain values, say 10% in an hour. I tried to modify but couldnt get the result, may be because i was bad at scripting and i am a newbie. Any more helps will be highly thanked. Regards, Franklin |
well these scripts run with cron, as you requested. taking an hourly average will require MUCH more than a single fire-and-forget style script. cron won't help you there, you'd want a proper service like groundwork, hyperic, opennms, nagios etc.
|
All times are GMT -5. The time now is 11:19 PM. |