*** nagios-plugins-HEAD-200502231747/plugins-scripts/check_ntp.pl Fri Nov 19 14:59:43 2004 --- nagios-plugins-NEW/plugins-scripts/check_ntp.pl Thu Feb 24 16:13:59 2005 *************** *** 200,209 **** if (/(offset|adjust)\s+([-.\d]+)/i) { $offset = $2; - # 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;} - $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"}; print "ntperr = $ntpdate_error \n" if $verbose; --- 200,205 ----