summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_mailq.pl
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2014-10-06 08:25:31 (GMT)
committerJan Wagner <waja@cyconet.org>2014-10-06 08:25:31 (GMT)
commit93071168df90cd71ecb0cd391923cb4cc7de8d3d (patch)
tree577dc81b76783b0b1bb885fe5a94b2af02818a9b /plugins-scripts/check_mailq.pl
parent4034419bebf1ff0b83596e109218d3682d23d874 (diff)
parent6100950329ff28ba52fa16b67539687efcb1ff08 (diff)
downloadmonitoring-plugins-93071168df90cd71ecb0cd391923cb4cc7de8d3d.tar.gz
Merge branch 'maint'
Conflicts: NEWS THANKS.in
Diffstat (limited to 'plugins-scripts/check_mailq.pl')
-rwxr-xr-xplugins-scripts/check_mailq.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl
index bd78981..0e8100d 100755
--- a/plugins-scripts/check_mailq.pl
+++ b/plugins-scripts/check_mailq.pl
@@ -332,7 +332,7 @@ elsif ( $mailq eq "postfix" ) {
332 }elsif ($lines[0]=~/Mail queue is empty/) { 332 }elsif ($lines[0]=~/Mail queue is empty/) {
333 $msg_q = 0; 333 $msg_q = 0;
334 }else{ 334 }else{
335 print "Couldn't match $utils::PATH_TO_QMAIL_QSTAT output\n"; 335 print "Couldn't match $utils::PATH_TO_MAILQ output\n";
336 exit $ERRORS{'UNKNOWN'}; 336 exit $ERRORS{'UNKNOWN'};
337 } 337 }
338 338
@@ -340,7 +340,7 @@ elsif ( $mailq eq "postfix" ) {
340 #if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) { 340 #if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) {
341 # my $msg_p = $1; 341 # my $msg_p = $1;
342 #}else{ 342 #}else{
343 # print "Couldn't match $utils::PATH_TO_QMAIL_QSTAT output\n"; 343 # print "Couldn't match $utils::PATH_TO_MAILQ output\n";
344 # exit $ERRORS{'UNKNOWN'}; 344 # exit $ERRORS{'UNKNOWN'};
345 #} 345 #}
346 346