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 --- plugins-scripts/check_ntp.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins-scripts/check_ntp.pl') 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'}) { 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 v1.2.3