check_ntp_time sometimes report Offset unknown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios-plugins (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Stéphane Graber |
Bug Description
[Impact]
Sometimes the output from check_ntp_time is "Offset unknown" while the ntp server is fine.
It can stay like that for a while and then comes back to normal.
Here's a sample output while the problem was present on the server:
[Test Case]
Install nagios and wait for the check to fail. when it fails, run the commands manually.
root@server:~# /usr/lib/
NTP CRITICAL: Offset unknown|
root@server:~# ntpdate -q 0.ca.pool.ntp.org
server 24.37.24.30, stratum 3, offset -0.006237, delay 0.16121
server 72.38.129.202, stratum 2, offset 0.022085, delay 0.05280
server 208.80.96.96, stratum 3, offset 0.030917, delay 0.05905
Install the patched version and notice that the check works now.
[Regression Potential]
Unlikely, the check_ntp_time is now the same as the version in 10.04 which works correctly.
Related branches
Changed in nagios-plugins (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in nagios-plugins (Ubuntu Hardy): | |
status: | New → In Progress |
description: | updated |
Changed in nagios-plugins (Ubuntu Hardy): | |
assignee: | nobody → Stéphane Graber (stgraber) |
This is happening on hardy and not lucid:
root@server:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
root@server:~# dpkg -l|grep nagios-plugins plugins- basic 1.4.11-1ubuntu5 Plugins for the nagios network monitoring an
ii nagios-