[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.16,1.17
Subhendu Ghosh
sghosh at users.sourceforge.net
Fri Apr 25 02:08:05 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv22612/plugins-scripts
Modified Files:
check_ntp.pl
Log Message:
corrected output units
Index: check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** check_ntp.pl 14 Mar 2003 13:28:41 -0000 1.16
--- check_ntp.pl 25 Apr 2003 09:07:18 -0000 1.17
***************
*** 299,305 ****
if (defined($offset) && abs($offset) > $ocrit) {
$state = $ERRORS{'CRITICAL'};
! $answer = "Server Error and offset $offset msec > +/- $ocrit msec\n";
} elsif (defined($offset) && abs($offset) > $owarn) {
! $answer = "Server error and offset $offset msec > +/- $owarn msec\n";
} elsif (defined($jitter) && abs($jitter) > $jcrit) {
$answer = "Server error and jitter $jitter msec > +/- $jcrit msec\n";
--- 299,305 ----
if (defined($offset) && abs($offset) > $ocrit) {
$state = $ERRORS{'CRITICAL'};
! $answer = "Server Error and offset $offset sec > +/- $ocrit sec\n";
} elsif (defined($offset) && abs($offset) > $owarn) {
! $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";
More information about the Commits
mailing list