UNKNOWN service state question

Nicole Hähnel ml at nicole-haehnel.de
Tue Feb 17 15:47:38 CET 2009


Hmm...
And why is UNKNOWN a hard state and not soft?
I would say, unknown is like critical and I need OK to know if 
everything works allright in a network.
So why should nagios wait for the next normal scheduled check if it is 
unknown if a service is OK?


Nicole


Thomas Guyot-Sionnest schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 17/02/09 03:56 AM, Nicole Hähnel wrote:
>   
>> Hi,
>>
>> I have several service checks via snmp which are checked only every hour.
>> This service checks return unknown if the host is down and nagios 
>> doesn't know this yet.
>> If the host goes up the service state is still unknown in hard state and 
>> only one time checked instead of the max_check_attempts of 3.
>> The problem is, it takes about one hour to the next service check or I 
>> have to reschedule the next check
>> if I don't want to remain the service in unknown state.
>>
>> Is this the right behavior for unknown states?
>> Why aren't unknown states treated as critical states?
>> The recovery of unknown state takes too long.
>>     
>
> The recovery time is just the same as critical. the retry_interval is
> used only during SOFT NON-OK states.
>
> You should most likely check more often. Most people run checks every 5
> minutes, if not 1 minutes. Hourly checks means that it can take over an
> hour to detect a service failure.
>
> If you absolutely want that, you could use event-handlers to force
> service checks upon host recovery, or configure adaptive monitoring to
> that services gets checked more often during non-OK states.
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJmrOV6dZ+Kt5BchYRAnv+AJ9WImhMSaD6iV1QVQ9Yb19BtjybLQCg+wJv
> 8FXQ2VGLurbNkGU2FifoTa0=
> =bvYt
> -----END PGP SIGNATURE-----
>   


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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