[monitoring-plugins] check_mailq: fixed mailer names

Jan Wagner git at monitoring-plugins.org
Mon Sep 29 10:40:08 CEST 2014


    Module: monitoring-plugins
    Branch: maint
    Commit: 37b8081504baca0df9e19818f686f25011835d1b
    Author: Simon Meggle <simon.meggle at consol.de>
 Committer: Jan Wagner <waja at cyconet.org>
      Date: Mon Sep  1 17:08:49 2014 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=37b8081

check_mailq: fixed mailer names

(Closes #1289)

---

 plugins-scripts/check_mailq.pl | 4 ++--
 1 file 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" ) {
 	}elsif ($lines[0]=~/Mail queue is empty/) {
 		$msg_q = 0;
         }else{
-                print "Couldn't match $utils::PATH_TO_QMAIL_QSTAT output\n";
+                print "Couldn't match $utils::PATH_TO_MAILQ output\n";
                 exit   $ERRORS{'UNKNOWN'};
         }
 
@@ -340,7 +340,7 @@ elsif ( $mailq eq "postfix" ) {
         #if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) {
         #        my $msg_p = $1;
         #}else{
-        #        print "Couldn't match $utils::PATH_TO_QMAIL_QSTAT output\n";
+        #        print "Couldn't match $utils::PATH_TO_MAILQ output\n";
         #        exit  $ERRORS{'UNKNOWN'};
         #}
 



More information about the Commits mailing list