adjust patterns after sysupgrade
[ansible.git] / roles / journalwatch / templates / patterns
index f81f6f76e91519133bd3e9fff5375ca6590dc3c7..55be0dbb5a4c55dff392f83541ab7fa4aadbe2bb 100644 (file)
@@ -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))