From 7a930f77c513255c416bd67198d4b6fbf4d8d006 Mon Sep 17 00:00:00 2001 From: "M. Sean Finney" Date: Thu, 14 Apr 2005 04:13:13 +0000 Subject: 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 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") { # 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 -- cgit v0.10-9-g596f