Check becomes unplanned

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Sep 10 04:47:48 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/09/08 02:55 PM, Andreas Ericsson wrote:
> Please line-wrap your emails, or ask your MUA to do it for you.
> 
> Bernd Arnold wrote:
>> Hi everyone,
>>
>> I don't know whether this is a bug or not. And maybe you'll never be affected by this. I believe this only happens when you are using time periods for service (or host) checks and an external program corrects the time backwards. The service check will no longer be executed. This happened in our environment three times already. The bad thing: you never realize that there is an unplanned service. The service state resides at the last check result.
>>
>> We're having service checks only occurring nightly. During the day, the time was corrected by ntp. Nagios realized the time change (see message below). The next check time is corrected for these services, but in the evening, when the check should occur, the service becomes unplanned. The service check stays unplanned until the nagios configuration is reloaded or the service is re-scheduled manually.
>>
>> Did anyone experience this behavior already? Please let me know if you need further information.
>>
> 
> Given the rather huge work in the scheduling queue management
> recently, I wouldn't be the slightest surprised if there are
> some undiscovered bugs in there right now.
> 
> To alleviate your issue, you should be running an ntp daemon
> on the Nagios server which slews the clock into its right
> time rather than sets it (slew = make it go slightly faster
> or slower until it matches the correct time). Are you running
> ntpdate via a cronjob or something?

If ntpd is not an option, you could use "ntpdate -B" which will make the
same kind of clock adjustments as ntpd. However it will correct at most
128ms at every run, so you might have to run it often to get the results
you want (I'd highly suggest running it against your own NTP server if
you need to do so).

Thomas


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIxzVT6dZ+Kt5BchYRAsHZAKD5ThNqBN1+8c5JYkHKgqfrF3YZUgCg51z5
akCeID32uS+TSDLRWOviPPc=
=sXqS
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/




More information about the Developers mailing list