bgpPeerAdminStatus{bgpPeerAdminStatus="start",bgpPeerRemoteAddr="10.0.0.66",bgpPeerRemoteAs="1",instance="10.0.0.1",job="snmp-cisco-bgp"} 1
bgpPeerState{bgpPeerRemoteAddr="10.0.0.66",bgpPeerRemoteAs="1",bgpPeerState="idle",instance="10.0.0.1",job="snmp-cisco-bgp"} 1
- alert: BGPPeer
expr: bgpPeerAdminStatus{bgpPeerAdminStatus="start"} == 1 and on(instance, bgpPeerRemoteAddr) bgpPeerState{bgpPeerState!="established"} == 1
for: 1m
labels:
team: noc
annotations:
summary: "BGP Peer {{ $labels.bgpPeerRemoteAs }} state is {{ $labels.bgpPeerState }}"
description: "BGP Peer {{ $labels.bgpPeerRemoteAs }} (remote address: {{ $labels.bgpPeerRemoteAddr }}) has state {{ $labels.bgpPeerState }}"--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1196dbca-f286-49fd-9396-d1d58e879df0%40googlegroups.com.