Host State for machines that don't allow ping
Andreas Ericsson
ae at op5.se
Mon Sep 10 11:22:45 CEST 2007
Hari Sekhon wrote:
> 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?
>
Write a host-check that checks the status of all services on the host. If
any service is up, the host is up.
Or, write a NEB-module to make this happen automagically whenever a host is
determined to be up and use a dummy check (that doesn't even have to exist)
for host check.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------------------------
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