diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-04-25 09:07:18 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-04-25 09:07:18 +0000 |
commit | 9d7f91d6dcb42f75b4c44e30673fdc2e579704e9 (patch) | |
tree | c06fae7a1da3875a4f7cd031e24cef9c97d5ecc1 /plugins-scripts/check_ntp.pl | |
parent | 994051b26f43c818bd3bfe481d2da48747a632ba (diff) | |
download | monitoring-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
Diffstat (limited to 'plugins-scripts/check_ntp.pl')
-rwxr-xr-x | plugins-scripts/check_ntp.pl | 4 |
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'}) { 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) { |