Null host check_command (was: Advice on ho st notifications)

Dan Hopkins dan.hopkins at uk.easynet.net
Wed Sep 8 18:03:34 CEST 2004


> -----Original Message-----
> From: Marc Powell [mailto:marc at ena.com]
> Sent: 08 September 2004 15:06
> To: Robert Nelson; Andreas Ericsson; 
> nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] RE: Null host check_command (was: 
> Advice on host
> notifications)
> 
> 
> ----Original Message----
> From: Robert Nelson [mailto:rnelson at windchannel.com]
> Sent: Wednesday, September 08, 2004 8:59 AM
> To: Marc Powell; Andreas Ericsson; nagios-users at lists.sourceforge.net
> Subject: Null host check_command (was: Advice on host notifications)
> 
> > > > > Or, if you don't like the redundancy, you can always just not
> > > > > specify a host check command at all. 
> > > > > 
> > > > 
> > > > No. The check_command is not optional for host objects.
> > > 
> > > Umm. Sorry to inform you but not only is it demonstrably possible,
> > > it's documented. I've been running w/o host check_commands for
> > > several years now.
> > 
> > Marc,
> > 
> > So do you not get any host status changes when you don't define the
> > check_command, or does the host go down when all services 
> on it fail? 
> 
> Nagios always assumes the host is up, no matter what.

Interesting. I missed that as well - what happens on a service failure in
this case? Since a host check is usually triggered on a service failure,
skipping any other services if the host is down, does omitting the host
check_command mean all services are always checked even when one fails?


-- 
Dan Hopkins


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list