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

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3314686, was opened at 2011-06-10 05:56
Message generated for change (Comment added) made by hweiss
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: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Douglas E. Warner (silfreed)
Assigned to: Holger Weiss (hweiss)
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|


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

>Comment By: Holger Weiss (hweiss)
Date: 2013-06-19 01:23

Message:
Sorry for the late response,  Could you please run "ntpq -c rv" when this
happens and post the output?

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

Comment By: https://www.google.com/accounts ()
Date: 2012-05-21 22:32

Message:
Any progress on this one? I have the latest plugin, yet the problem is
still there.

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

Comment By: Douglas E. Warner (silfreed)
Date: 2011-06-27 10:57

Message:
Confirmed this also exists w/ 1.4.15.

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

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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.