check status values ... [was check_snmp - wrong status]

Andreas Ericsson ae at op5.se
Sat Nov 27 09:38:22 CET 2004


Ben Hyde wrote:
> On Nov 25, 2004, at 7:02 PM, Andreas Ericsson wrote:
> 
>>  '1' means warning, '2' means critical and '3' means unknown. Hyphens 
>> won't be output.
> 
> 
> Unknown/3 is just what I'm looking for.  So I tried it.  Works great for 
> services.
> 
> If all the services of a host return unknown it appears to, quite 
> reasonably, run the host check.
> 
> A host who's check returns unknown is set to down?  I was hoping for it 
> to be set to unknown.
> 

Hosts don't have the "unknown" status. It's either OK or BAD. Nagios 
then calculates if it's DOWN or UNREACHABLE by checking the status of 
the parents and children hosts.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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