From a4265d049eb1e469313a19557a43f586be71a714 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 15 Nov 2019 01:31:36 +0300 Subject: [PATCH] Style(logcheck): Sort entries; remove empty lines --- .../roles/logcheck/files/ignore.d/local-console-kit-daemon | 1 - playbooks/roles/logcheck/files/ignore.d/local-dbus | 1 - playbooks/roles/logcheck/files/ignore.d/local-named | 2 +- playbooks/roles/logcheck/files/ignore.d/local-samba | 2 +- playbooks/roles/logcheck/files/ignore.d/local-ssh | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/playbooks/roles/logcheck/files/ignore.d/local-console-kit-daemon b/playbooks/roles/logcheck/files/ignore.d/local-console-kit-daemon index 1169ef9..e623247 100644 --- a/playbooks/roles/logcheck/files/ignore.d/local-console-kit-daemon +++ b/playbooks/roles/logcheck/files/ignore.d/local-console-kit-daemon @@ -1,2 +1 @@ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ console-kit-daemon\[[0-9]+\]: GLib-CRITICAL: Source ID [0-9]+ was not found when attempting to remove it$ - diff --git a/playbooks/roles/logcheck/files/ignore.d/local-dbus b/playbooks/roles/logcheck/files/ignore.d/local-dbus index 7661db8..684981c 100644 --- a/playbooks/roles/logcheck/files/ignore.d/local-dbus +++ b/playbooks/roles/logcheck/files/ignore.d/local-dbus @@ -1,3 +1,2 @@ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dbus\[[0-9]+\]: \[system\] Activating service name='org\.freedesktop\.UDisks' \(using servicehelper\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dbus\[[0-9]+\]: \[system\] Successfully activated service 'org\.freedesktop\.UDisks'$ - diff --git a/playbooks/roles/logcheck/files/ignore.d/local-named b/playbooks/roles/logcheck/files/ignore.d/local-named index 634a8cb..0fef09e 100644 --- a/playbooks/roles/logcheck/files/ignore.d/local-named +++ b/playbooks/roles/logcheck/files/ignore.d/local-named @@ -1,6 +1,6 @@ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: DNS format error from ([0-9]{1,3}\.){3}[0-9]{1,3}#[0-9]{1,5} resolving -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: client ([0-9]{1,3}\.){3}[0-9]{1,3}#[0-9]{1,5}: message parsing failed ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: client ([0-9]{1,3}\.){3}[0-9]{1,3}#[0-9]{1,5} \([._[:alnum:]-]+\): query (\(cache\) )?'.+' denied +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: client ([0-9]{1,3}\.){3}[0-9]{1,3}#[0-9]{1,5}: message parsing failed ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: client 192\.168\.3\.20#[0-9]+ \([._[:alnum:]-]+\): error sending response: host unreachable$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: clients-per-query (de|in)creased to ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ named\[[0-9]+\]: skipping nameserver '[A-Za-z0-9._-]+' because it is a CNAME, while resolving diff --git a/playbooks/roles/logcheck/files/ignore.d/local-samba b/playbooks/roles/logcheck/files/ignore.d/local-samba index 8c6c053..2d3817f 100644 --- a/playbooks/roles/logcheck/files/ignore.d/local-samba +++ b/playbooks/roles/logcheck/files/ignore.d/local-samba @@ -1,2 +1,2 @@ -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smbd: pam_unix\(samba:session\): session opened for user ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smbd: pam_unix\(samba:session\): session closed for user +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smbd: pam_unix\(samba:session\): session opened for user diff --git a/playbooks/roles/logcheck/files/ignore.d/local-ssh b/playbooks/roles/logcheck/files/ignore.d/local-ssh index f4c173f..54f4ccd 100644 --- a/playbooks/roles/logcheck/files/ignore.d/local-ssh +++ b/playbooks/roles/logcheck/files/ignore.d/local-ssh @@ -15,4 +15,3 @@ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: fatal: no hostkey alg \[preauth\] ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: input_userauth_request: invalid user.+\[preauth\]$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: pam_unix\(sshd:auth\): bad username - -- 2.39.5