X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d281db9defd2e0c0e6b9761736ff38a9df7391b0..91f4ab8c6bc2b647a26eed10e42ea3a2a9377b95:/roles/journalwatch/templates/patterns diff --git a/roles/journalwatch/templates/patterns b/roles/journalwatch/templates/patterns index 8b5d7d2..7701447 100644 --- a/roles/journalwatch/templates/patterns +++ b/roles/journalwatch/templates/patterns @@ -44,24 +44,50 @@ SYSLOG_IDENTIFIER = systemd Received SIGRTMIN\+24 from PID .* (Reached target|Stopped target) .* Startup finished in \d+ms\. +{% if journalwatch is defined and journalwatch.strato_broken | default(False) %} +Failed to create /user.slice/user-\d+.slice/user@\d+.service/init.scope control group: Permission denied +Failed to allocate manager object: Permission denied +{% endif %} _SYSTEMD_UNIT = init.scope user@\d+\.service: Killing process \d+ \(kill\) with signal SIGKILL\. +{% if journalwatch is defined and journalwatch.strato_broken | default(False) %} +Failed to set devices.allow on /system.slice/[a-z-]+.service: Operation not permitted +{% 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: [._\w-]+ -warning: non-SMTP command from \w+\[[\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 \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) SYSLOG_IDENTIFIER = sshd error: Received disconnect from [\da-fA-F.:]+ port \d+:\d+: .* -error: maximum authentication attempts exceeded for invalid user \w+ from [\da-fA-F.:]+ port \d+ ssh2( \[preauth\])? +error: maximum authentication attempts exceeded for (invalid user \w*|\w+) from [\da-fA-F.:]+ port \d+ ssh2 \[preauth\] +fatal: ssh_packet_get_string: string is too large \[preauth\] _SYSTEMD_UNIT = bind9.service -client [\da-fA-F.:]+#\d+ \([\w.-]+\): (zone transfer '[\w.-]+/AXFR/IN' denied|message parsing failed: (bad compression pointer|bad label type)) +client [\da-fA-F.:]+#\d+( \([\w.-]+\))?: (zone transfer '[\w.-]+/AXFR/IN' denied|message parsing failed: (bad compression pointer|bad label type|unexpected end of input)) _SYSTEMD_UNIT = opendkim.service -[A-Z0-9]+: bad signature data +[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\]: .*)