[Nagiosplug-help] Problems with check_ntp_time v1.4.14 NTP CRITICAL: Offset unknown|

Elie Delorme elie at at-m.ca
Wed Feb 17 13:55:00 CET 2010


All servers I poll have the same ntp configuration, it looks like the plugin
can't handle some offsets,
most of the time everything is fine, then I randomly get an "Offset unknown"
for a server.

I found a couple references to a bug involving a leap second, but they were
also saying that it should be corrected
in 1.4.12.

I have tried restarting the ntp service a couple times but it did not help a
bit.
I also checked with ntpq and everything seems fine.

My version is 1.4.14 ( latest available on sourceforge):
# /usr/local/nagios/libexec/check_ntp_time --help
check_ntp_time v1.4.14 (nagios-plugins 1.4.14)
Copyright (c) 2006 Sean Finney
Copyright (c) 2006-2008 Nagios Plugin Development Team
        <nagiosplug-devel at lists.sourceforge.net>

Here is the output I get when executing the plugin from the command line:
# /usr/local/nagios/libexec/check_ntp_time -v -H xxx.xxx.xxx.xxx
sending request to peer 0
response from peer 0: offset -0.01565231133
sending request to peer 0
response from peer 0: offset -0.01617310685
sending request to peer 0
response from peer 0: offset -0.01564534893
sending request to peer 0
response from peer 0: offset -0.01622254931
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|

Every single other hosts return something similar to this:
# /usr/local/nagios/libexec/check_ntp_time -v -H xxx.xxx.xxx.xxx
sending request to peer 0
response from peer 0: offset 0.00188128947
sending request to peer 0
response from peer 0: offset 0.001869686646
sending request to peer 0
response from peer 0: offset 0.001876145543
sending request to peer 0
response from peer 0: offset 0.001873658912
overall average offset: 0.00188128947
NTP OK: Offset 0.00188128947 secs|offset=0.001881s;60.000000;120.000000;

0111000001101100011000010110111001100101011101000010000001100011011100100111010101110011011010000110010101110010
[image:
?ui=2&view=att&th=126663e89d5b83ca&attid=0.1&disp=attd&realattid=ii_126663e89d5b83ca&zw]
*Elie Delorme *| Operations System Analyst / Analyste Opérations |
www.atlastelecommobile.com
|
elie at atlastelecommobile.com
|
t 514 879 0362 x247
|
|
f 514 223 7486
|

• Le message contenu dans ce courriel ainsi que dans tout fichier attaché
est destiné exclusivement aux personnes dont le nom figure ci-dessus. Toute
utilisation non autorisée est strictement prohibée. Si vous avez reçu ce
courriel par erreur, veuillez le signaler à son auteur puis supprimer le
courriel. Les opinions exprimées dans ce message sont uniquement celles de
son auteur à moins que cet auteur spécifie explicitement qu'elles sont
celles de Atlas Telecom Mobile. • The contents of this email message and all
its attachments are for the individual use of the intended recipient's and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is strictly prohibited. If you are
not the intended recipient, please contact the sender by reply email and
destroy all copies of the original message. Any views expressed in this
message are those of the individual sender, except where the sender
specifically states them to be the views of Atlas Telecom Mobile.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100217/0324521d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atm_logo.gif
Type: image/gif
Size: 4354 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100217/0324521d/attachment.gif>


More information about the Help mailing list