From 035f1eb259e414cf9133ae7d8286437f11f86766 Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Fri, 25 Apr 2003 09:07:18 +0000 Subject: 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 diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index 269ed3b..0262f5b 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl @@ -292,9 +292,9 @@ if ($ntpdate_error != $ERRORS{'OK'}) { if (defined($offset) && abs($offset) > $ocrit) { $state = $ERRORS{'CRITICAL'}; - $answer = "Server Error and offset $offset msec > +/- $ocrit msec\n"; + $answer = "Server Error and offset $offset sec > +/- $ocrit sec\n"; } elsif (defined($offset) && abs($offset) > $owarn) { - $answer = "Server error and offset $offset msec > +/- $owarn msec\n"; + $answer = "Server error and offset $offset sec > +/- $owarn sec\n"; } elsif (defined($jitter) && abs($jitter) > $jcrit) { $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n"; } elsif (defined($jitter) && abs($jitter) > $jwarn) { -- cgit v0.10-9-g596f