Page 1 of 1

Improving service notification

Posted: Wed Oct 07, 2015 2:39 pm
by paulol
is it possible to have nagios check for host down before a service failure is sent? if a host is down or rebooted we get a lot of service notifications but just need the 1 host down..

Re: Improving service notification

Posted: Wed Oct 07, 2015 3:06 pm
by jolson
If you're rebooting a server, it's recommended to put the host into temporary downtime:
2015-10-07 15_03_57-Calculator.png
This will stop the host (and the services) from generating alerts throughout the course of its downtime.

By default, Nagios only alerts on service failures if it thinks the host is up - is this not your experience? If you'd like to read more, there is a good write-up here: http://sites.box293.com/nagios/guides/c ... -intervals

Re: Improving service notification

Posted: Wed Oct 07, 2015 3:38 pm
by paulol
Thx Jolson, this article resolved my problem, I'll set up the check_interval, retry_interval and max_check_attempts of my service and hosts in order to warn me right. And remember to put the host into temporary downtime before reboot :mrgreen:

Re: Improving service notification

Posted: Wed Oct 07, 2015 3:57 pm
by jolson
Sounds good, I'm glad I could help! I'll lock the thread, feel free to open new ones for additional questions.