From 0b1c737659a1df52081be070bcdf6439d4c014f9 Mon Sep 17 00:00:00 2001 From: Lucas Dousse Date: Mon, 4 Feb 2019 15:52:26 +0100 Subject: [PATCH] Add conditions for bgp admin status = stop (#9773) I propose this change so that bgp sessions down volunteer is not on alert --- misc/alert_rules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/alert_rules.json b/misc/alert_rules.json index eeee9fef2b..61a1fa2330 100644 --- a/misc/alert_rules.json +++ b/misc/alert_rules.json @@ -11,7 +11,7 @@ "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", "extra": "{\"count\": 1}", "default": true