prometheus: add bird bgp import alert rules

pull/106/head
jeltz 7 months ago
parent 3fa998ae68
commit 4c61d2bc18
Signed by: jeltz
GPG Key ID: 800882B66C0C3326

@ -335,6 +335,17 @@ prometheus__alert_rules_bird:
severity: critical
annotations:
Session: !unsafe "{{ $labels.name }}"
- alert: BirdBGPNoImportedPrefixRedundant
expr:
bird_protocol_prefix_import_count{
import_filter!="REJECT",
} * on (instance, name) (
bird:protocol_up:bgp:redundant{state="Established"}
) == 0
for: 0m
labels:
severity: critical
annotations:
- alert: BirdBGPNoExportedPrefixNonRedundant
expr:
sum by (group) (
@ -349,6 +360,20 @@ prometheus__alert_rules_bird:
severity: critical
annotations:
Session: !unsafe "{{ $labels.name }}"
- alert: BirdBGPNoImportedPrefixNonRedundant
expr:
sum by (group) (
bird_protocol_prefix_import_count{
import_filter!="REJECT",
} * on (instance, name) group_left (group) (
bird:protocol_up:bgp:non_redundant{state="Established"}
)
) == 0
for: 0m
labels:
severity: critical
annotations:
Session: !unsafe "{{ $labels.name }}"
- alert: BirdOSPFNeighboursChange
expr:
changes(bird_ospf_neighbor_count[5m]) > 0

Loading…
Cancel
Save