<div class="gmail_quote">On Wed, Feb 17, 2010 at 5:55 AM, Elie Delorme <span dir="ltr"><<a href="mailto:elie@at-m.ca">elie@at-m.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>All servers I poll have the same ntp configuration, it looks like the plugin can't handle some offsets,</div><div>most of the time everything is fine, then I randomly get an "Offset unknown" for a server.</div>

<div><br></div><div>I found a couple references to a bug involving a leap second, but they were also saying that it should be corrected</div><div>in 1.4.12.</div><div><br></div><div>I have tried restarting the ntp service a couple times but it did not help a bit.</div>

<div>I also checked with ntpq and everything seems fine.</div><div><br></div><div>My version is 1.4.14 ( latest available on sourceforge):</div><div># /usr/local/nagios/libexec/check_ntp_time --help</div><div>check_ntp_time v1.4.14 (nagios-plugins 1.4.14)</div>

<div>Copyright (c) 2006 Sean Finney</div><div>Copyright (c) 2006-2008 Nagios Plugin Development Team</div><div>        <<a href="mailto:nagiosplug-devel@lists.sourceforge.net" target="_blank">nagiosplug-devel@lists.sourceforge.net</a>></div>

<div><br></div><div>Here is the output I get when executing the plugin from the command line:</div><div># /usr/local/nagios/libexec/check_ntp_time -v -H xxx.xxx.xxx.xxx</div><div>sending request to peer 0</div><div>response from peer 0: offset -0.01565231133</div>

<div>sending request to peer 0</div><div>response from peer 0: offset -0.01617310685</div><div>sending request to peer 0</div><div>response from peer 0: offset -0.01564534893</div><div>sending request to peer 0</div><div>

response from peer 0: offset -0.01622254931</div><div>discarding peer 0: stratum=0</div><div>overall average offset: 0</div><div>NTP CRITICAL: Offset unknown|<br>
</div></blockquote></div><br>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?<br><br>-Mike<br>