aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_mailq.pl
diff options
context:
space:
mode:
authorGravatar M. Sean Finney <seanius@users.sourceforge.net> 2005-04-14 04:13:13 +0000
committerGravatar M. Sean Finney <seanius@users.sourceforge.net> 2005-04-14 04:13:13 +0000
commit7a930f77c513255c416bd67198d4b6fbf4d8d006 (patch)
treef70063ab8b7f5f3c7678972b4d1d4797c5dbce1d /plugins-scripts/check_mailq.pl
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
Diffstat (limited to 'plugins-scripts/check_mailq.pl')
-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 7baf9424..f1aec0f4 100755
--- a/plugins-scripts/check_mailq.pl
+++ b/plugins-scripts/check_mailq.pl
@@ -173,7 +173,7 @@ if ($mailq eq "sendmail") {
# 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