aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
diff options
context:
space:
mode:
authorJan Sydänviita <jan@sydanviita.fi>2026-09-03 08:33:24 +0300
committerJan Sydänviita <jan@sydanviita.fi>2026-09-03 08:33:24 +0300
commit62f8eb046d0545045f17765f94a3651df0bf964f (patch)
tree794ef8233e003b57f4f0ae586a949d16a655dce6 /roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
parent4d1a03c71c62a20a2e0ed4a8e892fdb8f412c16b (diff)
Update pylogsentinel conf
Diffstat (limited to 'roles/host/templates/usr_local_etc_pylogsentinel.conf.j2')
-rw-r--r--roles/host/templates/usr_local_etc_pylogsentinel.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2 b/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
index cf24b20..a941c13 100644
--- a/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
+++ b/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
@@ -3,7 +3,7 @@ state_dir = /var/run/pylogsentinel
max_block_size = 10M
[logs.standard]
-cmd = /usr/local/bin/fd -t f -E 'access.log' -E 'syncthing.log' '^[a-zA-Z-_]+(\.log|\.txt)$' /var/log /usr/local/jails/containers/*/var/log
+cmd = /usr/local/bin/fd -t f -E 'access.log' -E 'syncthing.log' -E '*netdata/health.log' '^[a-zA-Z-_]+(\.log|\.txt)$' /var/log /usr/local/jails/containers/*/var/log
[logs.arr]
cmd = /usr/local/bin/fd -t f '^[a-zA-Z-_]+(\.log|\.txt)$' /usr/local/jails/containers/dl/usr/local/*/logs
@@ -12,7 +12,7 @@ cmd = /usr/local/bin/fd -t f '^[a-zA-Z-_]+(\.log|\.txt)$' /usr/local/jails/conta
paths = /usr/local/jails/containers/ingress/var/log/nginx/access.log
[action.default]
-cmd = echo -e "---------\nMatched $RULE_ID in $FILE at line $LINE, context:\n\n$CONTEXT\n" >> /tmp/pylogsentinel.daily
+cmd = echo -e "---------\nMatched $RULE_ID in $FILE at line $LINE, context:\n\n$CONTEXT\n" >> /var/run/pylogsentinel.weekly
[rule.error_std]
description = Error-like conditions