X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/950b3d89135e02138ee41bb8e3a2afe84ed1e1aa..54bc99178b93f4dea0a41bb2e12ec0ad07ae0801:/roles/journalwatch/templates/patterns?ds=inline diff --git a/roles/journalwatch/templates/patterns b/roles/journalwatch/templates/patterns index d45459c..5d37896 100644 --- a/roles/journalwatch/templates/patterns +++ b/roles/journalwatch/templates/patterns @@ -56,19 +56,27 @@ Failed to set devices.allow on /system.slice/[a-z-]+.service: Operation not perm {% endif %} SYSLOG_IDENTIFIER = sudo -\s*[_\w.-]+ : TTY=(unknown|console|(pts/|ttyp?|vc/)\d+) ; PWD=[^;]+ ; USER=[._\w-]+ ; COMMAND=.* +\s*[._\w-]+ : TTY=(unknown|console|(pts/|ttyp?|vc/)\d+) ; PWD=[^;]+ ; USER=[._\w-]+ ; COMMAND=.* + +SYSLOG_IDENTIFIER = su +\(to [._\w-]+\) [._\w-]+ on none _SYSTEMD_UNIT = postfix@-.service -warning: hostname [^\s]+ does not resolve to address [\da-fA-F.:]+(: Name or service not known)? -warning: [._\w-]+\[[\da-fA-F.:]+\]: SASL LOGIN authentication failed: .+ -warning: non-SMTP command from \w+\[[\da-fA-F.:]+\]: .* +warning: hostname [\w._-]+ does not resolve to address [\da-fA-F.:]+(: .*)? +warning: [._\w-]+\[[\da-fA-F.:]+\]: SASL (LOGIN|PLAIN) authentication failed:.* +warning: non-SMTP command from [._\w-]+\[[\da-fA-F.:]+\]: .* warning: TLS library problem: error:[0-9A-F]+:SSL routines:\w+:(no shared cipher|decryption failed or bad record mac|unknown protocol|version too low):[\w./]+:\d+: {% if journalwatch is defined and journalwatch.postfix_slow | default(False) %} -warning: psc_cache_update: btree:/var/lib/postfix/[a-z_]+ (update|lookup) average delay is [1-5]\d\d ms +warning: psc_cache_update: btree:/var/lib/postfix/[a-z_]+ (update|lookup) average delay is \d\d\d ms +{% endif %} +{% if journalwatch is defined and journalwatch.strato_broken | default(False) %} +warning: dnsblog reply timeout [0-9]+s for [\w._-]+ +warning: dnsblog_query: lookup error for DNS query .* {% endif %} _SYSTEMD_UNIT = dovecot.service auth: Warning: auth client \d+ disconnected with \d+ pending requests: (EOF|Connection reset by peer) +auth: Warning: Event 0x[\da-fA-F]+ leaked \(parent=\(nil\)\): auth-client-connection.c:\d+ SYSLOG_IDENTIFIER = sshd error: Received disconnect from [\da-fA-F.:]+ port \d+:\d+: .* @@ -80,3 +88,7 @@ client [\da-fA-F.:]+#\d+( \([\w.-]+\))?: (zone transfer '[\w.-]+/AXFR/IN' denied _SYSTEMD_UNIT = opendkim.service [A-Z0-9]+: (bad signature data|failed to parse [Aa]uthentication-[Rr]esults: header field) +[A-Z0-9]+: key retrieval failed \(s=[\w._-]+, d=[\w._-]+\)(: '[\w._-]+' record not found)? + +_SYSTEMD_SLICE=system-openvpn.slice +(client/)?[0-9a-f.:]+ (peer info: .*|VERIFY OK: .*|Outgoing Data Channel: .*|Incoming Data Channel: .*|Control Channel: .*|TLS: .*|\[client\] .*|MULTI(_sva)?: .*|SIGUSR1.*|PUSH: .*|SENT CONTROL \[client\]: .*)