check_ntp_time returns unknown with peer reporting stratum 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nagios Plugins |
New
|
Unknown
|
|||
nagios-plugins (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ntp (Debian) |
New
|
Unknown
|
Bug Description
Lots of reference reading:
- http://
- http://
- http://
Using this check on more than a hundred servers configured similarly, the check fails like so on just a few nodes (<5):
sending request to peer 0
response from peer 0: offset -0.08336162567
sending request to peer 0
response from peer 0: offset -0.08346772194
sending request to peer 0
response from peer 0: offset -0.08303678036
sending request to peer 0
response from peer 0: offset -0.08342885971
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|
=====
##
# Monitoring node
##
# /usr/lib/
check_ntp_time v1.5 (nagios-plugins 1.5)
# dpkg -l |grep nagios-plugins
ii nagios-plugins 1.5-3ubuntu1 all Plugins for nagios compatible monitoring systems (metapackage)
ii nagios-
ii nagios-
ii nagios-
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# uname -a
Linux node01 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# ntpq -c rv
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
version="ntpd 4.2.6p5@1.2349-o Wed Oct 9 19:08:06 UTC 2013 (1)",
processor="x86_64", system=
precision=-21, rootdelay=92.244, rootdisp=76.080, refid=91.189.94.4,
reftime=
clock=d7bae3ec.
mintc=3, offset=0.334, frequency=-10.289, sys_jitter=0.508,
clk_jitter=0.803, clk_wander=0.047
# On the ntp peer client (monitored server):
# ntpq -c rv
associd=0 status=c012 leap_alarm, sync_unspec, 1 event, freq_set,
version="ntpd 4.2.6p3@1.2290-o Tue Jun 5 20:12:08 UTC 2012 (1)",
processor="x86_64", system=
precision=-19, rootdelay=0.000, rootdisp=27.810, refid=INIT,
reftime=
clock=d7bae3d4.
mintc=3, offset=0.000, frequency=-0.600, sys_jitter=0.000,
clk_jitter=0.002, clk_wander=0.000
summary: |
- check_ntp_time fails when peer reports stratum 0 + check_ntp_time returns unknown with peer reporting stratum 0 |
description: | updated |
Changed in nagios-plugins: | |
status: | Unknown → New |
Changed in ntp (Debian): | |
status: | Unknown → New |
Status changed to 'Confirmed' because the bug affects multiple users.