|
|
|
@ -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
|
|
|
|
|