[Nagiosplug-checkins] nagiosplug/plugins-scripts check_mailq.pl,1.5,1.6

M. Sean Finney seanius at users.sourceforge.net
Wed Apr 13 21:15:30 CEST 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18379/plugins-scripts

Modified Files:
	check_mailq.pl 
Log Message:
check_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/


Index: check_mailq.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_mailq.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- check_mailq.pl	3 Jan 2005 00:59:48 -0000	1.5
+++ check_mailq.pl	14 Apr 2005 04:13:13 -0000	1.6
@@ -173,7 +173,7 @@
 		    # multi queue: one for each queue. overwrite on multi queue below
 	  	  $msg_q = $1 ;
 			}
-		} elsif (/^\s+Total\sRequests:\s(\d+)$/) {
+		} elsif (/^\s+Total\sRequests:\s(\d+)$/i) {
 			print "$utils::PATH_TO_MAILQ = $_ \n" if $verbose ;
 			#
 			# multi queue: last line





More information about the Commits mailing list