summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-04-25 09:07:18 +0000
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-04-25 09:07:18 +0000
commit035f1eb259e414cf9133ae7d8286437f11f86766 (patch)
tree61088193dcbfb8a7d5ca22b5f0f228dd7f7e0134 /plugins-scripts
parent6f0de2fb3a3c346cc98624c73d6dfd2858407b39 (diff)
downloadmonitoring-plugins-035f1eb259e414cf9133ae7d8286437f11f86766.tar.gz
corrected output units
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@499 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-xplugins-scripts/check_ntp.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 269ed3ba..0262f5bf 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -292,9 +292,9 @@ if ($ntpdate_error != $ERRORS{'OK'}) {
292 292
293 if (defined($offset) && abs($offset) > $ocrit) { 293 if (defined($offset) && abs($offset) > $ocrit) {
294 $state = $ERRORS{'CRITICAL'}; 294 $state = $ERRORS{'CRITICAL'};
295 $answer = "Server Error and offset $offset msec > +/- $ocrit msec\n"; 295 $answer = "Server Error and offset $offset sec > +/- $ocrit sec\n";
296 } elsif (defined($offset) && abs($offset) > $owarn) { 296 } elsif (defined($offset) && abs($offset) > $owarn) {
297 $answer = "Server error and offset $offset msec > +/- $owarn msec\n"; 297 $answer = "Server error and offset $offset sec > +/- $owarn sec\n";
298 } elsif (defined($jitter) && abs($jitter) > $jcrit) { 298 } elsif (defined($jitter) && abs($jitter) > $jcrit) {
299 $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n"; 299 $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n";
300 } elsif (defined($jitter) && abs($jitter) > $jwarn) { 300 } elsif (defined($jitter) && abs($jitter) > $jwarn) {