Services check and unreachable host status

Andreas Ericsson ae at op5.se
Thu Sep 27 14:44:02 CEST 2007


Gabes Jean wrote:
> 
> -----Message d'origine-----
> De : nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel-bounces at lists.sourceforge.net] De la part de Andreas Ericsson
> Envoyé : jeudi 27 septembre 2007 14:07
> À : Nagios Developers List
> Objet : Re: [Nagios-devel] Services check and unreachable host status
> 
> Gabes Jean wrote:
>>> Is there a way to put service in state UNKNOWN (and do not make the
>>>  check) when the host is in an UNREACHABLE state?
>>>
>>>> No there isn't, and that would be lying, basically, since the
>>>> services aren't actually working when the host serving them is
>>>> down.
>> Yes, but the contacts know that the server is down so the services
>> are down too. When I know that the server is down, I don't care about
>> services for the moment. I don't think I've got service that can be
>> up when host is unreachable. I think I'll make the change and test
>> it. This can help me to see only few errors, but real errors (so when
>> the service is down, it's not about unreachability, but the service
>> is really down).
>>
> 
>>> That's an option, ofcourse, but it sounds to me as if you really should
>>> be patching the GUI files to hide services that are on hosts that are
>>> down. That way you should get what you want while maintaining report
>>> correctness.
> 
> Yes, but I prefer modify some C lines than PHP :)

The web-interface is written in C, so it'd be the same there.

-- 
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/




More information about the Developers mailing list