summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d713c5d)
raw | patch | inline | side by side (parent: d713c5d)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 4 Mar 2005 22:20:17 +0000 (22:20 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 4 Mar 2005 22:20:17 +0000 (22:20 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1148 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_ntp.pl | patch | blob | history |
index cd02d4777a2113477a415f4e953c593ceab6988d..8b5fe4d032ce738645d926aad06005c7c61ada3b 100755 (executable)
# 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;}
+ # Has been reported that 0.0000 happens in a production environment
+ # so this check should be taken out - SF tracker 1150777
+ #if ($offset == 0) { undef $offset;}
$ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"};
print "ntperr = $ntpdate_error \n" if $verbose;