diff options
-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 269ed3b..0262f5b 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl | |||
@@ -292,9 +292,9 @@ if ($ntpdate_error != $ERRORS{'OK'}) { | |||
292 | 292 | ||
293 | if (defined($offset) && abs($offset) > $ocrit) { | 293 | if (defined($offset) && abs($offset) > $ocrit) { |
294 | $state = $ERRORS{'CRITICAL'}; | 294 | $state = $ERRORS{'CRITICAL'}; |
295 | $answer = "Server Error and offset $offset msec > +/- $ocrit msec\n"; | 295 | $answer = "Server Error and offset $offset sec > +/- $ocrit sec\n"; |
296 | } elsif (defined($offset) && abs($offset) > $owarn) { | 296 | } elsif (defined($offset) && abs($offset) > $owarn) { |
297 | $answer = "Server error and offset $offset msec > +/- $owarn msec\n"; | 297 | $answer = "Server error and offset $offset sec > +/- $owarn sec\n"; |
298 | } elsif (defined($jitter) && abs($jitter) > $jcrit) { | 298 | } elsif (defined($jitter) && abs($jitter) > $jcrit) { |
299 | $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n"; | 299 | $answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n"; |
300 | } elsif (defined($jitter) && abs($jitter) > $jwarn) { | 300 | } elsif (defined($jitter) && abs($jitter) > $jwarn) { |