Adapat alertmanager rules to disabled units
This commit is contained in:
parent
7c664cb1a2
commit
72643dfc16
|
@ -16,7 +16,7 @@ groups:
|
|||
annotations:
|
||||
description: '{{ $labels.name }} is not reachable.'
|
||||
- alert: systemd_service_failed
|
||||
expr: node_systemd_unit_state{state="failed",exported_name!~"NetworkManager-wait-online.*"} == 1
|
||||
expr: node_systemd_unit_state{state="failed"} == 1
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
|
|
Loading…
Reference in a new issue