Host State for machines that don't allow ping

Hari Sekhon hpsekhon at googlemail.com
Mon Sep 10 10:52:10 CEST 2007


Hi,

   I am curios what people do when monitoring a host that does not 
respond to pings. I have a host which is not under my control, it does 
not respond to pings, but I am monitoring one service. The service is 
up, so the host is up. I am not receiving notifications for this host 
and it appears to be fine, but in the web interface, nagios has the host 
column as red but the service column as green.

This is somewhat of a contradiction because if the service is ok, then 
implicitly the host is up. Should the host column not be green as well?

I am considering changing the host definition's check command to a dummy 
check instead of the usual ping check, but this seems like not quite the 
right thing to do because the host may well be down then and the dummy 
check will always return ok and nagios will think that host is up.

I have also considered making the host check just the same check that 
the service is, which should work for this one host, but what about if I 
have to do the same for other hosts, this doesn't scale, I can't 
template it etc...


These are the only 2 options I can think of, either never know if it's 
up or not, or use the service check, but this doesn't scale and has to 
be done on an individual host basis for any host that doesn't respond to 
pings.


Anybody got any other ideas?

Thanks

-h

-- 
Hari Sekhon


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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