stop service checks when a host goes down

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
soumyasimore
Posts: 1
Joined: Wed Feb 27, 2019 11:43 am

stop service checks when a host goes down

Post by soumyasimore »

Hi Team ,
Need one help , can i stop service checks when a host goes down.

Regards & Thanks
soumya
455157
Posts: 47
Joined: Mon Sep 10, 2012 7:35 pm

Re: stop service checks when a host goes down

Post 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)
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: stop service checks when a host goes down

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked