You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
512 B
YAML
24 lines
512 B
YAML
---
|
|
prometheus__rules_keepalived:
|
|
- alert: KeepalivedVrrpFault
|
|
expr:
|
|
keepalived_vrrp_state{state="fault"} > 0
|
|
for: 0m
|
|
labels:
|
|
severity: critical
|
|
annotations:
|
|
Instance: !unsafe "{{ $labels.instance }}"
|
|
- alert: KeepalivedMasterChange
|
|
expr:
|
|
changes(
|
|
keepalived_vrrp_state{
|
|
keepalived_vvrp_state="master"
|
|
}[1m]
|
|
) > 0
|
|
for: 0m
|
|
labels:
|
|
severity: warning
|
|
annotations:
|
|
Instance: !unsafe "{{ $labels.instance }}"
|
|
...
|