mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Alert Rules: fix for critical and warning rule (#9688)
* Alert Rules: added sensor alert To sensor alert Critical and Warning. sensors.sensor_alert = \"1\" * Update alert_rules.json
This commit is contained in:
@@ -59,12 +59,12 @@
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"rule": "macros.state_sensor_critical",
|
||||
"rule": "macros.state_sensor_critical && sensors.sensor_alert = 1",
|
||||
"name": "State Sensor Critical",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"rule": "macros.state_sensor_warning",
|
||||
"rule": "macros.state_sensor_warning && sensors.sensor_alert = 1",
|
||||
"name": "State Sensor Warning",
|
||||
"default": false
|
||||
},
|
||||
|
Reference in New Issue
Block a user