[Nagiosplug-devel] check_ntpd

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Dec 20 14:50:42 CET 2006


Jacek Siutkowski wrote:
> Hello!
> 
> I'm using nagios-plugins-1.4-2.0.rh7.rf on old (but updated) rh7.3
> through local nrpe. On Nagios console I discovered frequent alarms
> concerning this NTP, which actually is constantly flapping. 
> Locally issued /path/check_ntp -H 127.0.0.1 had acknowledged that, but
> ntpd was still running and in sync with parent one.
> After issuing command: "/path/check_ntp -H 127.0.0.1 -v" it turned out
> that check_ntp was returning critical state when "offset 0.000000" and
> OK state every one offset is different from 0.000000.
> I suppose some divide by zero problem or similar ....
> 
> On rh7.3 is installed ntp-4.1.1-1 and kernel 2.4.30.
> 

Older versions of check_ntp (perl script) has many known issues and was
replaced by a C version in nagios-plugins-1.4.5. Please upgrade.

I made a patch for the specific situation you're talking above. You can
try it but keep in mind it doesn't fix all issues.

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-1.4.check_ntp.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20061220/60263288/attachment.bin>


More information about the Devel mailing list