Page 1 of 1

Re: [Nagios-devel] Nagios lying about host status?

Posted: Tue Jan 02, 2007 1:39 pm
by Guest
>> > -----Original Message-----
>> > From: [email protected] [mailto:nagios-devel-
>> > [email protected]] On Behalf Of Ahmon Dancy
>> > Sent: Tuesday, January 02, 2007 3:18 PM
>> > To: Christoph Maser
>> > Cc: [email protected]
>> > Subject: Re: [Nagios-devel] Nagios lying about host status?
>> >
>> > >> -----BEGIN PGP SIGNED MESSAGE-----
>> > >> Hash: SHA1
>> > >>
>> > >> Please read
>> > >>
>> http://nagios.sourceforge.net/docs/2_0/ ... ost_checks
>> >
>> > Read it.
>> >
>> > It claims: "One instance where Nagios checks the status of a host is
>> > when a service check results in a non-OK status".
>> >
>> > That statement could use some clarification. Does it check the host
>> > status each time a service check results in a non-Ok status, or only
>> > when the service status changes? (The former would be more
>> > reasonable, IMHO, but the latter is what appears to be the case).
>>
>> Only when a service changes state. With the current serialized host
>> checks there could be significant performance penalties to check host
>> status at every non-OK service check, especially if you have many hosts
>> down. If any service on the host changes state then the host is checked.
>> If any service on the host is up then the host is assumed to be up (for
>> initial checks). If you only monitor one service on the host then the
>> host will only be checked when that service changes state. In your case,
>> it would appear that you only monitor one service on that host so the
>> behavior you saw is considered normal.

Ok. That is indeed my situation. Thanks for the clarification.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]