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

Michael Saldivar mike.saldivar at advocatecreditrepair.com
Wed Feb 17 16:52:58 CET 2010


On Wed, Feb 17, 2010 at 5:55 AM, Elie Delorme <elie at at-m.ca> wrote:

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

Have you checked the full time and date on these machines to make sure that
they are actually correct?  Do they have a firewall rule blocking external
NTP calls?

-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100217/d1ef80ce/attachment.html>


More information about the Help mailing list