Browse Source

Add ignores in logcheck for postfix and php

Emmanuel Bouthenot 11 years ago
parent
commit
a05d9b9ec8

+ 1 - 0
roles/common/files/logcheck/php_local

@@ -1 +1,2 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ [^[:space:]\[]+: PHP (Warning|Deprecated|Notice|Strict Standards):
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ [ [:alnum:]]+\[[[:digit:]]+\]: PHP (Warning|Deprecated|Notice|Strict Standards):

+ 1 - 0
roles/common/files/logcheck/postfix_local

@@ -1 +1,2 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: warning: hostname .+ does not resolve to address .+(: Name or service not known)?$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ postfix/smtpd?\[[[:digit:]]+\]: Untrusted TLS connection established to [-\.[:alnum:]]+\[[:\.[:digit:]a-f]+\]:[[:digit:]]+: TLSv[\.[:digit:]]+ with cipher [-[:alnum:]]+ \([[:digit:]]+/[[:digit:]]+ bits\)$