瀏覽代碼

Add ignores in logcheck for postfix and php

Emmanuel Bouthenot 11 年之前
父節點
當前提交
a05d9b9ec8
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      roles/common/files/logcheck/php_local
  2. 1 0
      roles/common/files/logcheck/postfix_local

+ 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\)$