From 43484bbb4bc8a164da3ae6c4d90d55c984bb4955 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Mon, 2 Dec 2019 08:13:39 +0100 Subject: [PATCH] Fix fstrim logcheck regex --- ansible/etc/logcheck/ignore.d.server/local-server.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/etc/logcheck/ignore.d.server/local-server.j2 b/ansible/etc/logcheck/ignore.d.server/local-server.j2 index 898f6e7..9469521 100644 --- a/ansible/etc/logcheck/ignore.d.server/local-server.j2 +++ b/ansible/etc/logcheck/ignore.d.server/local-server.j2 @@ -28,7 +28,7 @@ ^[ :[:alnum:]]{15} {{ hostname }} auditd\[[0-9]+\]: Audit daemon rotating log files ^[ :[:alnum:]]{15} {{ hostname }} dbus-daemon\[[0-9]+\]: \[system\] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by '[:.[:digit:]]+' \(uid=0 pid=[[:digit:]]+ comm=\"/usr/bin/gdbus call --system --dest org.freedeskto\"\) ^[ :[:alnum:]]{15} {{ hostname }} dbus-daemon\[[0-9]+\]: \[system\] Successfully activated service 'org.freedesktop.PackageKit' -^[ :[:alnum:]]{15} {{ hostname }} fstrim\[[0-9]+\]: /: [.[:digit:]]+ [KMG]iB ([[:digit:]]+ bytes) trimmed on /dev/md[[:digit:]] +^[ :[:alnum:]]{15} {{ hostname }} fstrim\[[0-9]+\]: /: [.[:digit:]]+ [KMG]iB \([[:digit:]]+ bytes\) trimmed on /dev/md[[:digit:]] ^[ :[:alnum:]]{15} {{ hostname }} PackageKit: daemon start ^[ :[:alnum:]]{15} {{ hostname }} PackageKit: daemon quit ^[ :[:alnum:]]{15} {{ hostname }} runuser: pam_unix\(runuser:session\): session opened for user nobody by \(uid=0\)