Handling Nagios Down
-
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Handling Nagios Down
At times, Nagios is going down. Is there anyway to send email every 1 hour from nagios about its current status.
Re: Handling Nagios Down
You could create a cron job that essentially uses sendmail to send an "all clear" email. Nagios should not go down though, you may have larger issues that need to be addressed.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Re: Handling Nagios Down
Cron job is Linux/Unix feature. How can we know whether Nagios is down or not by scheduling cron job? As of now, I am making wrong request to make a service failure with notification interval as 60 min so that i will get failure notification for every one hour.
Re: Handling Nagios Down
You do this by scheduling the cron job to check the output of, for example, "service nagios status" and email based on that output. There is a big difference between Nagios going down and the server itself going down. If you want to monitor the server itself you will of course need another server to watch it.vinothsethuram wrote:Cron job is Linux/Unix feature. How can we know whether Nagios is down or not by scheduling cron job?
Former Nagios employee