[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-08-21 Thread Jon Henry
I am experiencing what I think is the same bug on lucid 10.04.4. About
once per hour, check_ntp_time reports Offset unknown causing Nagios to
alarm, only to fix itself a short while later. Please let me know if I
can provide any more details, or if I should open this as a new bug
report.


lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 10.04.4 LTS
Release:10.04
Codename:   lucid

uname -a
Linux redacted 2.6.32-42-server #95-Ubuntu SMP Wed Jul 25 16:10:49 UTC 2012 
x86_64 GNU/Linux

date  /usr/lib/nagios/plugins/check_ntp_time -H local_ntp_server
Tue Aug 21 11:28:54 MDT 2012
NTP CRITICAL: Offset unknown|

date  /usr/lib/nagios/plugins/check_ntp_time -H local_ntp_server
Tue Aug 21 11:32:35 MDT 2012
NTP OK: Offset 0.006026506424 secs|offset=0.006027s;60.00;120.00;

dpkg -l nagios-plugins
ii  nagios-plugins1.4.14-1ubuntu1   Plugins for the nagios 
network monitoring and management system

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-29 Thread Launchpad Bug Tracker
This bug was fixed in the package nagios-plugins - 1.4.11-1ubuntu5.1

---
nagios-plugins (1.4.11-1ubuntu5.1) hardy-proposed; urgency=low

  * Fix bugs and flaws in best offset server selection of check_ntp_time
(LP: #1010110)
 -- Marc Gariepy mgari...@ubuntu.com   Tue, 05 Jun 2012 13:08:34 -0400

** Changed in: nagios-plugins (Ubuntu Hardy)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-27 Thread Maxime Ménard-Leroux
The proposed package for nagios-plugins-basic seems to fix the issue.

The issue comes up usually every hour on hardy hosts. But on the patched
host, no nagios alerts for NTP since the proposed package was installed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-27 Thread Stéphane Graber
Thanks Maxime. Marking verfication-done based on that comment.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-21 Thread Clint Byrum
Hello Dominique, or anyone else affected,

Accepted nagios-plugins into hardy-proposed. The package will build now
and be available in a few hours. Please help us by testing this new
package.  See https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Your feedback will aid us
getting this update out to other Ubuntu users.  If this package fixes
the bug for you please change the bug tag from verification-needed to
verification-done.  If it does not, change the tag to verification-
failed.  In either case details of your testing will help us make a
better decision.  Further information regarding the verification process
can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification
. Thank you in advance!

** Changed in: nagios-plugins (Ubuntu Hardy)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-21 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/hardy/nagios-plugins/hardy-
proposed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-08 Thread Stéphane Graber
** Changed in: nagios-plugins (Ubuntu Hardy)
 Assignee: (unassigned) = Stéphane Graber (stgraber)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Dominique Potvin
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
ii  nagios-plugins-basic  1.4.11-1ubuntu5  
Plugins for the nagios network monitoring an

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nagios-plugins (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Marc Gariépy
here is the upstream correction for this plugin:
http://nagiosplug.git.sourceforge.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=blobdiff;f=plugins/check_ntp_time.c;h=11a0eced801c083c976b4c90e0977cf224378141;hp=16e4c3c7663b6257a737d68a546b22c6b12a4fb9;hb=34cfb0c1034a6b3289e9aca567fd2393126aa80a;hpb=08d81dc7bd9a0c292b5dd7494da4b85cacb1c210

Thanks

** Attachment added: dpatch generated patch
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179621/+files/31_fix_check_ntp_time.dpatch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Stéphane Graber
** Also affects: nagios-plugins (Ubuntu Hardy)
   Importance: Undecided
   Status: New

** Changed in: nagios-plugins (Ubuntu)
   Status: Confirmed = Fix Released

** Changed in: nagios-plugins (Ubuntu Hardy)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Marc Gariépy
** Patch added: debdiff
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179624/+files/nagios-plugins_1.4.11-1ubuntu5.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Marc Gariépy
** Patch removed: debdiff
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179624/+files/nagios-plugins_1.4.11-1ubuntu5.1.debdiff

** Patch added: fixed debdiff
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179654/+files/nagios-plugins_1.4.11-1ubuntu5.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1010110] Re: check_ntp_time sometimes report Offset unknown

2012-06-07 Thread Marc Gariépy
** Description changed:

+ [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/nagios/plugins/check_ntp_time -H 0.ca.pool.ntp.org
  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.

** Patch removed: fixed debdiff
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179654/+files/nagios-plugins_1.4.11-1ubuntu5.1.debdiff

** Patch added: fixed debdiff
   
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+attachment/3179674/+files/nagios-plugins_1.4.11-1ubuntu5.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1010110

Title:
  check_ntp_time sometimes report Offset unknown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1010110/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs