summaryrefslogtreecommitdiffstats
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
commit9d7f91d6dcb42f75b4c44e30673fdc2e579704e9 (patch)
treec06fae7a1da3875a4f7cd031e24cef9c97d5ecc1
parent994051b26f43c818bd3bfe481d2da48747a632ba (diff)
downloadmonitoring-plugins-9d7f91d6dcb42f75b4c44e30673fdc2e579704e9.tar.gz
corrected output units
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@499 f882894a-f735-0410-b71e-b25c423dba1c
-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 a2e75b15..17730a59 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -298,9 +298,9 @@ if ($ntpdate_error != $ERRORS{'OK'}) {
298 298
299 if (defined($offset) && abs($offset) > $ocrit) { 299 if (defined($offset) && abs($offset) > $ocrit) {
300 $state = $ERRORS{'CRITICAL'}; 300 $state = $ERRORS{'CRITICAL'};
301 $answer = "Server Error and offset $offset msec > +/- $ocrit msec\n"; 301 $answer = "Server Error and offset $offset sec > +/- $ocrit sec\n";
302 } elsif (defined($offset) && abs($offset) > $owarn) { 302 } elsif (defined($offset) && abs($offset) > $owarn) {
303 $answer = "Server error and offset $offset msec > +/- $owarn msec\n"; 303 $answer = "Server error and offset $offset sec > +/- $owarn sec\n";
304 } elsif (defined($jitter) && abs($jitter) > $jcrit) { 304 } elsif (defined($jitter) && abs($jitter) > $jcrit) {
305 $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n"; 305 $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n";
306 } elsif (defined($jitter) && abs($jitter) > $jwarn) { 306 } elsif (defined($jitter) && abs($jitter) > $jwarn) {