[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.14,1.14.2.1

Subhendu Ghosh sghosh at users.sourceforge.net
Tue Mar 4 20:38:22 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv30706

Modified Files:
      Tag: r1_3_0
	check_ntp.pl 
Log Message:
regex fix per Marc Poulin

Index: check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** check_ntp.pl	16 Feb 2003 02:18:00 -0000	1.14
--- check_ntp.pl	5 Mar 2003 04:37:52 -0000	1.14.2.1
***************
*** 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