From 74010ef296ca4a7c89693590f38c25b5cad51311 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 1 Aug 2020 16:41:20 +0300 Subject: [PATCH] Feat(logcheck): Ignore `dhcpclient`/`dhcpd` messages --- playbooks/roles/logcheck/files/.gitignore | 1 - playbooks/roles/logcheck/files/ignore.d/local-dhcp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 playbooks/roles/logcheck/files/.gitignore create mode 100644 playbooks/roles/logcheck/files/ignore.d/local-dhcp diff --git a/playbooks/roles/logcheck/files/.gitignore b/playbooks/roles/logcheck/files/.gitignore deleted file mode 100644 index f8a9fd0..0000000 --- a/playbooks/roles/logcheck/files/.gitignore +++ /dev/null @@ -1 +0,0 @@ -ignore.d/local-dhcpd diff --git a/playbooks/roles/logcheck/files/ignore.d/local-dhcp b/playbooks/roles/logcheck/files/ignore.d/local-dhcp new file mode 100644 index 0000000..1e3ff5d --- /dev/null +++ b/playbooks/roles/logcheck/files/ignore.d/local-dhcp @@ -0,0 +1,2 @@ +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhclient\[[0-9]+\]: DHCPREQUEST +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd: DHCPRELEASE -- 2.39.5