Fix rulebook
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
condition:
|
||||
all:
|
||||
- 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:
|
||||
- run_job_template:
|
||||
name: Demo - Clean Log Directory
|
||||
@@ -27,7 +27,7 @@
|
||||
condition:
|
||||
all:
|
||||
- event.alert.labels.org == "OYS" and event.alert.status == "firing"
|
||||
- event.alert.labels.alertname == "ProcessCPUHog"
|
||||
and event.alert.labels.alertname == "ProcessCPUHog"
|
||||
actions:
|
||||
- print_event:
|
||||
pretty: true
|
||||
|
||||
Reference in New Issue
Block a user