From: Oleg Broytman Date: Sat, 1 Aug 2020 13:41:20 +0000 (+0300) Subject: Feat(logcheck): Ignore `dhcpclient`/`dhcpd` messages X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=74010ef296ca4a7c89693590f38c25b5cad51311;p=ansible.git Feat(logcheck): Ignore `dhcpclient`/`dhcpd` messages --- 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