From: Ralf Jung Date: Tue, 3 Jan 2023 15:28:22 +0000 (+0100) Subject: adjust patterns after sysupgrade X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/497f10ae7a7dd470afe263f417f67788db2c81d1?ds=inline;hp=fdb23fdc21e9474901e06169ab01a8fac78ab26f adjust patterns after sysupgrade --- diff --git a/roles/journalwatch/templates/patterns b/roles/journalwatch/templates/patterns index f81f6f7..55be0db 100644 --- a/roles/journalwatch/templates/patterns +++ b/roles/journalwatch/templates/patterns @@ -56,7 +56,7 @@ 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 @@ -85,6 +85,7 @@ SYSLOG_IDENTIFIER = sshd error: Received disconnect from [\da-fA-F.:]+ port \d+:\d+: .* 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\] +error: kex_exchange_identification: Connection closed by remote host _SYSTEMD_UNIT = bind9.service client (@0x[a-f0-9]+ )?[\da-fA-F.:]+#\d+( \([\w.-]+\))?: (zone transfer '[\w.-]+/AXFR/IN' denied|message parsing failed: (bad compression pointer|bad label type|unexpected end of input))