[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.14.2.1,1.14.2.2
Subhendu Ghosh
sghosh at users.sourceforge.net
Fri Apr 25 02:07:02 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv22043/plugins-scripts
Modified Files:
Tag: r1_3_0
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.14.2.1
retrieving revision 1.14.2.2
diff -C2 -r1.14.2.1 -r1.14.2.2
*** check_ntp.pl 5 Mar 2003 04:37:52 -0000 1.14.2.1
--- check_ntp.pl 25 Apr 2003 09:05:59 -0000 1.14.2.2
***************
*** 293,299 ****
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";
--- 293,299 ----
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