Page 1 of 1

stop service checks when a host goes down

Posted: Wed Mar 13, 2019 12:19 pm
by soumyasimore
Hi Team ,
Need one help , can i stop service checks when a host goes down.

Regards & Thanks
soumya

Re: stop service checks when a host goes down

Posted: Wed Mar 13, 2019 3:08 pm
by 455157
Hi Soumya,

Although Nagios will continue to run the checks, if the host goes down, I believe notifications for it's services should stop until the host recovers.

Do you wish to actually stop Nagios from running the checks, or just the default behavior of notifications being suppressed?

If you're running Core 4.1+, there is a config option you can use to stop the checks altogether:

host_down_disable_service_checks=1

(in your nagios.cfg)

Re: stop service checks when a host goes down

Posted: Wed Mar 13, 2019 3:41 pm
by npolovenko
@soumyasimore, That's right Core 4 automatically stops service notifications until the host recovers. Plus there's an additional option you can activate to prevent service checks from executing while the host is down.