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|
# dpkg -l |grep nagios-plugins
ii nagios-plugins 1.5-3ubuntu1 all Plugins for nagios compatible monitoring systems (metapackage)
ii nagios-plugins-basic 1.5-3ubuntu1 amd64 Plugins for nagios compatible monitoring systems
ii nagios-plugins-common 1.5-3ubuntu1 amd64 Common files for plugins for nagios compatible monitoring
ii nagios-plugins-standard 1.5-3ubuntu1 amd64 Plugins for nagios compatible monitoring systems
Lots of reference reading: serverfault. com/questions/ 625027/ nagios- check-ntp- time-offset- unknown serverfault. com/questions/ 269701/ nagios- ntp-discarding- peer sourceforge. net/p/nagiosplu g/mailman/ message/ 24582375/
- 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|
=====
# /usr/lib/ nagios/ plugins/ check_ntp_ time -V
check_ntp_time v1.5 (nagios-plugins 1.5)
# dpkg -l |grep nagios-plugins plugins- basic 1.5-3ubuntu1 amd64 Plugins for nagios compatible monitoring systems plugins- common 1.5-3ubuntu1 amd64 Common files for plugins for nagios compatible monitoring plugins- standard 1.5-3ubuntu1 amd64 Plugins for nagios compatible monitoring systems
ii nagios-plugins 1.5-3ubuntu1 all Plugins for nagios compatible monitoring systems (metapackage)
ii nagios-
ii nagios-
ii nagios-
# cat /etc/lsb-release RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04.1 LTS"
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