[Nagiosplug-devel] check_ntp (nagios-plugins 1.3.1) 1.14.2.3 offset 0
Dmitry Sazonov
dsazonov at aamc.org
Tue Oct 14 09:26:08 CEST 2003
When checking yourself offset is usually 0. That should not trigger CRITICAL event.
CVS view:
202 sghosh 1.4
203 # An offset of 0.000000 with an error is probably bogus. Actually,
204 # it's probably always bogus, but let's be paranoid here.
205 if ($offset == 0) { undef $offset;}
206
207 $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"};
208 print "ntperr = $ntpdate_error \n" if $verbose;
--
Dmitry Sazonov x4168
UNIX sysadmin, AAMC
More information about the Devel
mailing list