Host check clarification

Patrick Morris patrick.morris at hp.com
Mon Jan 14 23:29:03 CET 2008


On Mon, 14 Jan 2008, Israel Brewster wrote:

> I need some clarification as to how exactly the host check determines
> if a host is down. In the default configuration, the check-host-alive
> command sends a single ping, which can be considered (obviously)
> either ok, warning, or critical. The host then has a
> max_check_attempts setting of three, which if I understand things
> correctly means it will try this check twice more, in rapid
> succession, before putting the host into a hard state. My question is
> what is the logic if one of these three checks returns a different
> state than the other two? Say, for example, the first ping never makes
> it back, therefore returning a critical state, but the second and
> third come back, giving OK states? is the host then considered up or
> down? Thanks!

Any OK state will reset the retry counter, because it means the host is
up.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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