summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-04-14 04:13:13 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-04-14 04:13:13 (GMT)
commit7a930f77c513255c416bd67198d4b6fbf4d8d006 (patch)
treef70063ab8b7f5f3c7678972b4d1d4797c5dbce1d
parentc6073a9b6b559fdf22bf1c6debce9345f2d3e05c (diff)
downloadmonitoring-plugins-7a930f77c513255c416bd67198d4b6fbf4d8d006.tar.gz
check_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xplugins-scripts/check_mailq.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
index 7baf942..f1aec0f 100755
--- a/plugins-scripts/check_mailq.pl
+++ b/plugins-scripts/check_mailq.pl
@@ -173,7 +173,7 @@ if ($mailq eq "sendmail") {
173 # multi queue: one for each queue. overwrite on multi queue below 173 # multi queue: one for each queue. overwrite on multi queue below
174 $msg_q = $1 ; 174 $msg_q = $1 ;
175 } 175 }
176 } elsif (/^\s+Total\sRequests:\s(\d+)$/) { 176 } elsif (/^\s+Total\sRequests:\s(\d+)$/i) {
177 print "$utils::PATH_TO_MAILQ = $_ \n" if $verbose ; 177 print "$utils::PATH_TO_MAILQ = $_ \n" if $verbose ;
178 # 178 #
179 # multi queue: last line 179 # multi queue: last line