[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.14,1.15
Karl DeBisschop
kdebisschop at users.sourceforge.net
Tue Mar 4 23:28:04 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv21542
Modified Files:
check_ntp.pl
Log Message:
add "m" to regex for minutes
Index: check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** check_ntp.pl 16 Feb 2003 02:18:00 -0000 1.14
--- check_ntp.pl 5 Mar 2003 07:27:07 -0000 1.15
***************
*** 261,265 ****
# match sys.peer or pps.peer
! if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z.]+)\s+([-0-9.]+)\s+([lumb]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
$syspeer = $2;
$stratum = $4;
--- 261,265 ----
# match sys.peer or pps.peer
! if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z.]+)\s+([-0-9.]+)\s+([lumb]+)\s+([-0-9m.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
$syspeer = $2;
$stratum = $4;
More information about the Commits
mailing list