Too stupid? Services are available, but nagios reports host to be down!
Wojciech Kocjan
wojciech at kocjan.org
Tue Apr 8 14:34:38 CEST 2008
Dnia 08-04-2008 o 14:21:08 Heiko Schlittermann <hs at schlittermann.de>
napisał(a):
> Hello,
>
> Valdinger, Stephen (DOV, MSX) <svalding at doverchem.com> (Di 08 Apr 2008
> 13:58:36 CEST):
>> Just rewrite the check-host-alive plugin for the unpingable hosts to
>> something bogus like check_null for some bogus output. Or use a
>> different check command other than a ping for the check-host alive.
>
> Thank you for your response.
>
> But - a bogus check returning "OK" would be wrong too, because the host
> *can* be down.
>
> The host should assumed to be UP if *any* service check on this host was
> successful. The host should assumed to be DOWN, if all service checks
> failed.
>
> Any suggestion anybody?
That one would be non-trivial, but perhaps the check command could read
current status for the host and only do test if there are no services
currently in OK state? Otherwise it would return the host is UP.
--
Wojciech Kocjan
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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