]> git.phdru.name Git - ansible.git/commitdiff
Feat(logcheck): Ignore `dhcpclient`/`dhcpd` messages
authorOleg Broytman <phd@phdru.name>
Sat, 1 Aug 2020 13:41:20 +0000 (16:41 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 1 Aug 2020 13:41:20 +0000 (16:41 +0300)
playbooks/roles/logcheck/files/.gitignore [deleted file]
playbooks/roles/logcheck/files/ignore.d/local-dhcp [new file with mode: 0644]

diff --git a/playbooks/roles/logcheck/files/.gitignore b/playbooks/roles/logcheck/files/.gitignore
deleted file mode 100644 (file)
index f8a9fd0..0000000
+++ /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 (file)
index 0000000..1e3ff5d
--- /dev/null
@@ -0,0 +1,2 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhclient\[[0-9]+\]: DHCPREQUEST
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhcpd: DHCPRELEASE