From 2b0643086be33e71deafcc2cd8e15584e64bf28a Mon Sep 17 00:00:00 2001 From: Nate Byers Date: Wed, 26 Aug 2020 01:54:14 -0400 Subject: [PATCH] Corrected alert_rules.json file to container proper JSON. (#12033) --- misc/alert_rules.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/misc/alert_rules.json b/misc/alert_rules.json index c758739e73..4d7855737f 100644 --- a/misc/alert_rules.json +++ b/misc/alert_rules.json @@ -1,7 +1,7 @@ [ { "rule": "macros.device_down = \"1\"", - "name": "Devices up/down", + "name": "Devices up/down" }, { "rule": "macros.device_down = \"1\" && devices.status_reason = \"icmp\"", @@ -22,12 +22,12 @@ { "rule": "bgpPeers.bgpPeerState != \"established\" && macros.device_up = \"1\" && bgpPeers.bgpPeerAdminStatus != \"stop\"", "name": "BGP Session down", - "extra": "{\"count\": 1}", + "extra": "{\"count\": 1}" }, { "rule": "bgpPeers.bgpPeerFsmEstablishedTime < \"300\" && bgpPeers.bgpPeerState = \"established\" && macros.device_up = \"1\"", "name": "BGP Session established", - "extra": "{\"count\": 1}", + "extra": "{\"count\": 1}" }, { "rule": "macros.port_down = \"1\"", @@ -73,12 +73,12 @@ { "rule": "wireless_sensors.sensor_type == \"arubaos\" && wireless_sensors.sensor_class == \"ap-count\" && wireless_sensors.sensor_alert = \"1\" && macros.device_up = \"1\" && wireless_sensors.sensor_current <= `wireless_sensors.sensor_limit_low_warn` && wireless_sensors.sensor_current > `wireless_sensors.sensor_limit_low`", "name": "Aruba Wireless AP Count Low Warning", - "severity": "warning", + "severity": "warning" }, { "rule": "wireless_sensors.sensor_type == \"arubaos\" && wireless_sensors.sensor_class == \"ap-count\" && wireless_sensors.sensor_alert = \"1\" && macros.device_up = \"1\" && wireless_sensors.sensor_current <= `wireless_sensors.sensor_limit_low`", "name": "Aruba Wireless AP Count Low Critical", - "severity": "critical", + "severity": "critical" }, { "rule": "macros.state_sensor_critical && sensors.sensor_alert = 1", @@ -87,7 +87,7 @@ }, { "rule": "macros.state_sensor_warning && sensors.sensor_alert = 1", - "name": "State Sensor Warning", + "name": "State Sensor Warning" }, { "rule": "macros.bill_quota_over_quota >= \"75\"", @@ -431,21 +431,21 @@ }, { "rule": "customoids.customoid_current >= `customoids.customoid_limit` && customoids.customoid_alert = \"1\" && macros.device_up = \"1\"", - "name": "CustomOID over limit", + "name": "CustomOID over limit" }, { "rule": "customoids.customoid_current <= `customoids.customoid_limit_low` && customoids.customoid_alert = \"1\" && macros.device_up = \"1\"", - "name": "CustomOID under limit", + "name": "CustomOID under limit" }, { "rule": "customoids.customoid_current >= `customoids.customoid_limit_warn` && customoids.customoid_alert = \"1\" && macros.device_up = \"1\"", "name": "CustomOID over warning limit", - "severity": "warning", + "severity": "warning" }, { "rule": "customoids.customoid_current <= `customoids.customoid_limit_low_warn` && customoids.customoid_alert = \"1\" && macros.device_up = \"1\"", "name": "CustomOID under warning limit", - "severity": "warning", + "severity": "warning" }, { "rule": "applications.app_type = \"ups-nut\" && state_indexes.state_name = \"UPSOnBattery\" && macros.state_sensor_warning = 1",