summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ntp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_ntp.pl')
-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 a2e75b1..17730a5 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) {