From 79e65e46c2751194694b6ac816ef2bd19b308c31 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Wed, 2 Nov 2022 11:20:07 +0100 Subject: [PATCH] Add ignores for ZFS snapshots and backups --- .../filesystem/common/etc/logcheck/ignore.d.server/_hostname.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/filesystem/common/etc/logcheck/ignore.d.server/_hostname.j2 b/playbooks/filesystem/common/etc/logcheck/ignore.d.server/_hostname.j2 index ad7e7e4..284e50c 100644 --- a/playbooks/filesystem/common/etc/logcheck/ignore.d.server/_hostname.j2 +++ b/playbooks/filesystem/common/etc/logcheck/ignore.d.server/_hostname.j2 @@ -1,6 +1,6 @@ ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: (Starting|Stopping) [ +[:alnum:]/\-]+\.(\.\.)?$ ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: Finished (Cleanup of Temporary Directories|Online ext4 Metadata Check for All Filesystems|Podman auto-update service)\.$ -^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: (apt-daily\.service): Consumed [0-9]+\.[0-9]+s CPU time\.$ +^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: (apt-daily\.service|sanoid\.service|syncoid-volume-data\.service): Consumed [0-9]+\.[0-9]+s CPU time\.$ ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: (apt-daily-upgrade\.service): Consumed [0-9]+\.[0-9]+s CPU time\.$ ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: rsyslog\.service: Sent signal SIGHUP to main process [[:digit:]]+ (rsyslogd) on client request\.$ ^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]\-]+ systemd\[[0-9]+\]: var-lib-containers-storage-overlay\.mount: Succeeded\.$