diff options
author | Stephane Lapie <stephane.lapie@asahinet.com> | 2017-06-07 06:12:53 (GMT) |
---|---|---|
committer | Stephane Lapie <stephane.lapie@asahinet.com> | 2017-06-07 06:12:53 (GMT) |
commit | 541322969e27b07566c55448d749bc64ab7ae5c0 (patch) | |
tree | 86aaf41190f936ce111a034f4fa7b0f096946096 /plugins-scripts/utils.pm.in | |
parent | b3d39e605ef7ce7da056721c4e2e140966be3530 (diff) | |
download | monitoring-plugins-541322969e27b07566c55448d749bc64ab7ae5c0.tar.gz |
Fix regexp for nullmailer "mailq" outputrefs/pull/1493/head
As it currently is, the regular expression does not match mailq command
output on a Debian Jessie setup.
Three erroneous behaviors fixed :
- Meaningful lines do not end with the "bytes" word
- There might be one or more space before the byte count, not 2
- Time match was completely broken, it only accounted for 0-29 minutes
and 0-29 seconds.
Diffstat (limited to 'plugins-scripts/utils.pm.in')
0 files changed, 0 insertions, 0 deletions