Fix rulebook
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user