[Nagiosplug-devel] [ nagiosplug-Bugs-2836780 ] check_ntp_xxx ntpd failure handling

SourceForge.net noreply at sourceforge.net
Fri Aug 14 10:25:37 CEST 2009


Bugs item #2836780, was opened at 2009-08-13 08:39
Message generated for change (Comment added) made by duncan_ferguson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2836780&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: snapshot tarball
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Duncan Ferguson (duncan_ferguson)
Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: check_ntp_xxx ntpd failure handling

Initial Comment:
check_ntp and check_ntp_time have both been returning errors recently - compiled up new binaries from nagios-plugins-trunk-200908120000.tar.gz and they show the same behaviour, returning occasional "Offset unknown" messages.

This has been traced back to ntpd occasionally unselecting all ntp servers so the plugin doesn't know which server to refer against, returning the error.

The plugin should return a more meaningful error about no selected ntp server

This was seen on Ubuntu Hardy 8.04 on both 32 and 64 bit servers compiled with gcc

  

----------------------------------------------------------------------

>Comment By: Duncan Ferguson (duncan_ferguson)
Date: 2009-08-14 08:25

Message:
"No suitable peer for time synchronization" is a lot more meaningful for
this problem than just "Offset known" as at least it gives a clue where the
error might be for further investigation by them

----------------------------------------------------------------------

Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-08-13 23:10

Message:
Sure we can change the text; I'm curious though what you think of when you
say "a more meaningful error". A more descriptive one could be "No suitable
peer for time synchronization" but I don't see how this could be more
"meaningful" for an end user :)

Any idea?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2836780&group_id=29880




More information about the Devel mailing list