Add conditions for bgp admin status = stop (#9773)

I propose this change so that bgp sessions down volunteer is not on alert
This commit is contained in:
Lucas Dousse
2019-02-04 15:52:26 +01:00
committed by Tony Murray
parent db488807e4
commit 0b1c737659

View File

@ -11,7 +11,7 @@
"default": true "default": true
}, },
{ {
"rule": "bgpPeers.bgpPeerState != \"established\" && macros.device_up = \"1\"", "rule": "bgpPeers.bgpPeerState != \"established\" && macros.device_up = \"1\" && bgpPeers.bgpPeerAdminStatus != \"stop\"",
"name": "BGP Session down", "name": "BGP Session down",
"extra": "{\"count\": 1}", "extra": "{\"count\": 1}",
"default": true "default": true