Răsfoiți Sursa

check_mailq: fixed mailer names

(Closes #1289)
Simon Meggle 11 ani în urmă
părinte
comite
5afdd19dc7
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      plugins-scripts/check_mailq.pl

+ 2 - 2
plugins-scripts/check_mailq.pl

@@ -344,7 +344,7 @@ elsif ( $mailq eq "postfix" ) {
 	}elsif ($lines[0]=~/Mail queue is empty/) {
 	}elsif ($lines[0]=~/Mail queue is empty/) {
 		$msg_q = 0;
 		$msg_q = 0;
         }else{
         }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'};
                 exit   $ERRORS{'UNKNOWN'};
         }
         }
 
 
@@ -352,7 +352,7 @@ elsif ( $mailq eq "postfix" ) {
         #if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) {
         #if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) {
         #        my $msg_p = $1;
         #        my $msg_p = $1;
         #}else{
         #}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'};
         #        exit  $ERRORS{'UNKNOWN'};
         #}
         #}