diff options
author | Simon Meggle <simon.meggle@consol.de> | 2014-09-01 17:08:49 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-09-29 10:21:11 +0200 |
commit | 37b8081504baca0df9e19818f686f25011835d1b (patch) | |
tree | 4d439b72450277afcdc4ab4ffb413af2cd5ef5ae /plugins-scripts/check_mailq.pl | |
parent | 013ca2c508386c548ec145832ab8be1e8306cca0 (diff) | |
download | monitoring-plugins-37b8081504baca0df9e19818f686f25011835d1b.tar.gz |
check_mailq: fixed mailer names
(Closes #1289)
Diffstat (limited to 'plugins-scripts/check_mailq.pl')
-rwxr-xr-x | plugins-scripts/check_mailq.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_mailq.pl b/plugins-scripts/check_mailq.pl index bd78981e..0e8100d0 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 | ||