check_ntp and time-offset 0.000000 sec

Nelson, Ben bnelson at rightnow.com
Tue Jan 7 18:55:21 CET 2003


I've done the same thing in our environment.  An offset of '0' didn't happen
very often, but it WAS frequent enough to get annoyed with notifications
about it.

--Ben

-----Original Message-----
From: ZIEGENBEIN, Kurt [mailto:kurt.ziegenbein at saarstahl.com]
Sent: Tuesday, January 07, 2003 5:49 AM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] check_ntp and time-offset 0.000000 sec


Hi all!

We had to comment out the following pice of code in the check_ntp plugin:

	# An offset of 0.000000 with an error is probably bogus. Actually,
	# it's probably always bogus, but let's be paranoid here.
	if ($offset == 0) { undef $offset;}

We are using check_ntp to watch for the time difference on our server which
are all NTP-Clients. Some times Nagios reported an error, because of a
zero-offset.

At the moment I can't overview why this check should be done. What do you
think?

ciao
Kurt


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030107/d16c7403/attachment.html>


More information about the Users mailing list