summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-04-19 10:47:02 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-04-19 10:48:04 +0200
commit4fae3a68953860c057697bcc2dbff482c1de1865 (patch)
treef6a28d31f446e7ecd6599fc12139663b8bf5bb01
parentb00c86a4c2a0af3462f46e9e2b7df51cb5650676 (diff)
fix: nagios may do some sudo stuff
-rw-r--r--files/etc/logcheck/violations.ignore.d/local-sudo-nagios1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/etc/logcheck/violations.ignore.d/local-sudo-nagios b/files/etc/logcheck/violations.ignore.d/local-sudo-nagios
new file mode 100644
index 0000000..22ce48b
--- /dev/null
+++ b/files/etc/logcheck/violations.ignore.d/local-sudo-nagios
@@ -0,0 +1 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sudo:[[:space:]]+nagios : PWD=[^;]+ ; USER=[._[:alnum:]-]+( ; GROUP=[._[:alnum:]-]+)? ; COMMAND=/usr/bin/mailq$