From 9d7f91d6dcb42f75b4c44e30673fdc2e579704e9 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/trunk@499 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index a2e75b1..17730a5 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl @@ -298,9 +298,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