Fix rulebook

This commit is contained in:
2024-04-17 13:40:56 -04:00
parent de78f7d085
commit 1d20c23b2c

View File

@@ -11,7 +11,7 @@
condition: condition:
all: all:
- event.alert.labels.org == "OYS" and event.alert.status == "firing" - event.alert.labels.org == "OYS" and event.alert.status == "firing"
- event.alert.labels.alertname == "root filesystem over 80% full" and event.alert.labels.alertname == "root filesystem over 80% full"
actions: actions:
- run_job_template: - run_job_template:
name: Demo - Clean Log Directory name: Demo - Clean Log Directory
@@ -27,7 +27,7 @@
condition: condition:
all: all:
- event.alert.labels.org == "OYS" and event.alert.status == "firing" - event.alert.labels.org == "OYS" and event.alert.status == "firing"
- event.alert.labels.alertname == "ProcessCPUHog" and event.alert.labels.alertname == "ProcessCPUHog"
actions: actions:
- print_event: - print_event:
pretty: true pretty: true