<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">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|</div><div><br></div><div>Every single other hosts return something similar to this:</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.00188128947</div><div>sending request to peer 0</div><div>response from peer 0: offset 0.001869686646</div>
<div>sending request to peer 0</div><div>response from peer 0: offset 0.001876145543</div><div>sending request to peer 0</div><div>response from peer 0: offset 0.001873658912</div><div>overall average offset: 0.00188128947</div>
<div>NTP OK: Offset 0.00188128947 secs|offset=0.001881s;60.000000;120.000000;</div><div><font face="'Times New Roman'"><span style="font-size:medium"><span style="font-family:'Times New Roman';font-size:medium"><br>
<font style="font-size:6px;font-family:courrier">0111000001101100011000010110111001100101011101000010000001100011011100100111010101110011011010000110010101110010</font></span></span></font><div>
<font face="'Times New Roman'"><span style="font-size:medium"><span style="font-family:'Times New Roman';font-size:medium"><font style="font-size:6px;font-family:courrier"><font><img src="cid:ii_126663e89d5b83ca" alt="?ui=2&view=att&th=126663e89d5b83ca&attid=0.1&disp=attd&realattid=ii_126663e89d5b83ca&zw" title="?ui=2&view=att&th=126663e89d5b83ca&attid=0.1&disp=attd&realattid=ii_126663e89d5b83ca&zw"><table>
<tbody><tr><td><img></td></tr><tr><td><font face="verdana" size="2" color="#8daa1a"><b>Elie Delorme </b><font face="verdana" size="1" color="#555555">| Operations System Analyst / Analyste Opérations</font></font></td>
</tr></tbody></table><table width="328" style="border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><tbody><tr><td><font face="verdana" size="1" color="#000000">|</font></td>
<td><a href="http://www.atlastelecommobile.com/" style="color:rgb(102, 102, 102);text-decoration:none;font-size:11px;font-family:verdana;line-height:11px" target="_blank">www.atlastelecommobile.com</a></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">
|</div></td><td><a href="mailto:elie@atlastelecommobile.com" style="color:rgb(102, 102, 102);text-decoration:none;font-size:11px;font-family:verdana;line-height:11px" target="_blank">elie@atlastelecommobile.com</a></td></tr>
<tr>
<td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">|</div></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">t 514 879 0362 x247</div>
</td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">|</div></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">
</div></td></tr><tr><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">|</div></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">
f 514 223 7486</div></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">|</div></td><td><div style="color:rgb(102, 102, 102);font-size:11px;font-family:verdana;line-height:11px">
</div></td></tr></tbody></table><br><table width="700" style="border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none"><tbody><tr><td><font face="verdana" size="1" color="#AAAAAA">• 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.</font></td>
</tr><tr><td><font face="verdana" size="1" color="#AAAAAA">• 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.</font></td>
</tr></tbody></table></font></font></span>
<br></span></font><br></div>
<br></div>