prometheus: temporarily disable alerts for rezel, vr & isp

This commit is contained in:
jeltz 2023-11-02 06:15:47 +01:00
parent 4c61d2bc18
commit f9f278cb65
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -270,7 +270,11 @@ prometheus__alert_rules_bird:
- record: bird:protocol_up:bgp - record: bird:protocol_up:bgp
expr: expr:
label_replace( label_replace(
bird_protocol_up{proto="BGP"}, bird_protocol_up{proto="BGP",}
unless bird_protocol_up{
proto="BGP",
name=~"^(viarezo|isp[12]|rezel)[46]$"
},
"group", "$1", "group", "$1",
"instance", "^([^0-9\\.]+)-[0-9]+.*" "instance", "^([^0-9\\.]+)-[0-9]+.*"
) )