[Nagiosplug-devel] [ nagiosplug-Bugs-3314686 ] check_ntp_time and check_ntp_peers cannot find offset

SourceForge.net noreply at sourceforge.net
Fri Jun 10 12:56:22 UTC 2011


Bugs item #3314686, was opened at 2011-06-10 08:56
Message generated for change (Tracker Item Submitted) made by silfreed
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3314686&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: v1.4.14
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Douglas E. Warner (silfreed)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ntp_time and check_ntp_peers cannot find offset

Initial Comment:
I'm having a similar problem with the "offset unknown" that others have had in the past, although I'm running 1.4.14 of the plugins using check_ntp_time and check_ntp_peer.  Below is the output of some of the commands.  For some reason check_ntp_peer doesn't even seem to be able to find the peers, although check_ntp_time seems fine, but doesn't get the correct offset.

# ntpdc -n -s localhost
     remote           local      st poll reach  delay   offset    disp
=======================================================================
 208.53.158.34   10.128.0.45      2   64    3 0.02493 -0.088040 1.98438
 204.9.54.119    10.128.0.45      1   64    3 0.00943 -0.035220 1.98444
 199.4.29.166    10.128.0.45      2   64    3 0.02950 -0.021567 1.98444
 216.129.110.22  10.128.0.45      2   64    3 0.01813 -0.027695 1.98444

# /usr/lib/nagios/plugins/check_ntp_peer -H 127.0.0.1 -w 5 -c 10 -v
0 candiate peers available
warning: no synchronization source found
warning: LI_ALARM bit is set
NTP CRITICAL: Server not synchronized, Offset unknown|

# /usr/lib/nagios/plugins/check_ntp_time -H 127.0.0.1 -w 5 -c 10 -v
sending request to peer 0
response from peer 0: offset 2.74181366e-06
sending request to peer 0
response from peer 0: offset -4.291534424e-06
sending request to peer 0
response from peer 0: offset -3.457069397e-06
sending request to peer 0
response from peer 0: offset -3.576278687e-06
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3314686&group_id=29880




More information about the Nagiosplugin-devel mailing list