aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins-scripts/check_ntp.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index cd02d477..8b5fe4d0 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -216,7 +216,9 @@ while (<NTPDATE>) {
# 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;