From 0bd08690f3b3937f0ecd6ff186e007ea1f66fbb8 Mon Sep 17 00:00:00 2001 From: laf Date: Thu, 3 Nov 2016 07:52:05 +0000 Subject: [PATCH] Updated alert_rules.json with more examples --- misc/alert_rules.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/alert_rules.json b/misc/alert_rules.json index 96e00e6eea..fa78eae93e 100644 --- a/misc/alert_rules.json +++ b/misc/alert_rules.json @@ -22,5 +22,13 @@ { "rule": "%processors.processor_usage > \"85\" && %macros.device_up = \"1\"", "name": "Processor usage over 85%" + }, + { + "rule": "%sensors.sensor_descr = \"Primary Unit.*\" && %sensors.sensor_current = \"10\" && %sensors.sensor_prev = \"9\"", + "name": "Cisco ASA Primary unit changed to standby" + }, + { + "rule": "%ports.ifOperStatus = \"down\" && %ports.ifOperStatus_prev = \"up\" && %macros.device_up = \"1\"", + "name": "Port status change from up to down" } ]