mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Merge pull request #1493 from darksoul42/master
Fix regexp for nullmailer "mailq" output. Looks good. Thank you very much.
This commit is contained in:
commit
f589b7041f
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ elsif ( $mailq eq "nullmailer" ) {
|
|||
while (<MAILQ>) {
|
||||
#2006-06-22 16:00:00 282 bytes
|
||||
|
||||
if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-2][0-9]\:[0-2][0-9]\s{2}[0-9]+\sbytes$/) {
|
||||
if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\s+[0-9]+\sbytes/) {
|
||||
$msg_q++ ;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue