mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
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
This commit is contained in:
parent
c6073a9b6b
commit
7a930f77c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue