Page 1 of 1

Disabling service checks when host is down

Posted: Tue Oct 18, 2011 3:55 am
by arnab.roy
Hi All,

I would like nagios to stop polling and running service checks against a host which is down, as it is pointless and a waste of resources. Can you suggest how I might be able to achieve this.

Cheers
Arnab

Re: Disabling service checks when host is down

Posted: Tue Oct 18, 2011 10:32 am
by mguthrie
You'd probably have to define a custom event handler to do this, and send a core command directly to the nagios.cmd pipe.
http://nagios.sourceforge.net/docs/nagi ... dlers.html

The accepted command pipe names and usage guidelines can be found here.
http://old.nagios.org/developerinfo/ext ... ndlist.php