summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ntp.pl
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-03-08 06:19:32 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2005-03-08 06:19:32 +0000
commitf24f2853c598bdde9041f84de77ec47fa1116870 (patch)
treea81a69d62b24f03834da0a3d97d11faf45d9382a /plugins-scripts/check_ntp.pl
parentb5b77ce39eb67ac83ee0c7c18f7020607c8abee1 (diff)
downloadmonitoring-plugins-f24f2853c598bdde9041f84de77ec47fa1116870.tar.gz
Added OS info for offset issue
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ntp.pl')
-rwxr-xr-xplugins-scripts/check_ntp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 8b5fe4d0..82c97ced 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -217,7 +217,7 @@ while (<NTPDATE>) {
217 # An offset of 0.000000 with an error is probably bogus. Actually, 217 # An offset of 0.000000 with an error is probably bogus. Actually,
218 # it's probably always bogus, but let's be paranoid here. 218 # it's probably always bogus, but let's be paranoid here.
219 # Has been reported that 0.0000 happens in a production environment 219 # Has been reported that 0.0000 happens in a production environment
220 # so this check should be taken out - SF tracker 1150777 220 # on Solaris 8 so this check should be taken out - SF tracker 1150777
221 #if ($offset == 0) { undef $offset;} 221 #if ($offset == 0) { undef $offset;}
222 222
223 $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"}; 223 $ntpdate_error = defined ($offset) ? $ERRORS{"OK"} : $ERRORS{"CRITICAL"};