1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/parse_mail_out.pl mezzanine_patched_smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/parse_mail_out.pl |
2 |
|
|
--- smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/parse_mail_out.pl 2009-02-15 12:14:59.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-zabbix-agent-0.1/root/var/lib/zabbix/bin/parse_mail_out.pl 2009-02-15 12:14:23.000000000 +0100 |
4 |
|
|
@@ -33,7 +33,7 @@ |
5 |
|
|
|
6 |
|
|
# on limites aux lignes concernant l'envoie |
7 |
|
|
# @400000004994ad092afa867c delivery 96906: success etc... |
8 |
|
|
- next unless $line =~ m/^\@[0-9a-f]{24} delivery \d+: (success|failure|deferral)/; |
9 |
|
|
+ next unless $line =~ m/^\@[0-9a-f]{24} delivery \d+: (success|failure|deferral).*(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|CNAME_lookup_failed_temporarily)/; |
10 |
|
|
my $result = $1; |
11 |
|
|
$cnt{$result}++; |
12 |
|
|
} |