-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_ntp_time and check_ntp_peers cannot find offset [sf#3314686] #1142
Comments
Submitted by silfreed on 2011-06-27 19:57:42 Confirmed this also exists w/ 1.4.15. |
Submitted by None on 2012-05-22 07:32:59 Any progress on this one? I have the latest plugin, yet the problem is still there. |
Submitted by hweiss on 2013-06-19 10:23:40 Sorry for the late response, Could you please run "ntpq -c rv" when this happens and post the output? |
Hi,
|
Cross referencing a bug I posted about this on the Ubuntu launchpad: |
Also adding a cross-ref to a external issue, the information it contains might be useful: https://jira.op5.com/browse/MON-8045 |
Is there any fix insight? |
anyone ? |
Could you please provide some more information? What OS are you using? BR |
OS : Debian 9 stretch.
Thank you ! |
Could you please raise verbosity? Just append one more verbose Option.
Am 13.07.2017 20:41 schrieb "Fnux" <notifications@github.com>:
… OS : Debian 9 stretch.
***@***.***:~ » uname -a
Linux orwell 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
***@***.***:~ » ntptrace -r srv1.lan.inipop.ch srv1.inipop.ch: stratum 2, offset 0.000437, synch distance 0.01083846-243-26-34.tangos.nl: stratum 1, offset 0.000001, synch distance 0.000001, refid 'GPS'
***@***.***:~ » /usr/lib/nagios/plugins/check_ntp_time -H srv1.lan.inipop.ch -v
sending request to peer 0
response from peer 0: offset 0.001212477684
sending request to peer 0
response from peer 0: offset -8.058547974e-05
sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
re-sending request to peer 0
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|
***@***.***:~ » aptitude show monitoring-plugins (2)
Package: monitoring-plugins
Version: 2.2-3
State: installed
Automatically installed: no
Priority: extra
Section: net
Maintainer: Debian Nagios Maintainer Group ***@***.***>
Architecture: all
Uncompressed Size: 52.2 k
Depends: monitoring-plugins-basic, monitoring-plugins-standard
Suggests: icinga | icinga2, nagios-plugins-contrib
Breaks: nagios-plugins (< 1.5-4~)
Replaces: nagios-plugins (< 1.5-4~)
Description: Plugins for nagios compatible monitoring systems (metapackage)
Plugins for nagios compatible monitoring systems like Naemon and Icinga.
This metapackage will install the entire suite of plugins for nagios compatible monitoring systems. If you are installing monitoring plugins on a remote
"satellite" server (using nagios-nrpe-server or nsca), you may be interested in the monitoring-plugins-basic package.
Homepage: https://www.monitoring-plugins.org
Tags: admin::monitoring, role::metapackage
Thank you !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1142 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH7uzGllg2ciATdIDQ6Kvijo5hMKjfQcks5sNmTbgaJpZM4BB6c1>
.
|
|
As posted above, |
I found a debian bug report which mentions that the 'limited' keyword in the ntp.conf on the server being checked can cause this. Adding the line 'discard minimum 1' to ntp.conf on the server being checked resolves it. |
Ah, the problem is the check_ntp_time plugin queries the NTP server several times and snags on the NTP server's rate limit. Thanks @helmo! |
I'm running into exactly this situation on a VM at a customer's internal network, where I have no ability to modify the config of the time-server. So adding the I've seen that in the nagios-plugins repo, the |
May I ask you to create a pull request for that feature? |
Submitted by silfreed on 2011-06-10 14:56:22
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.
The text was updated successfully, but these errors were encountered: