mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Added service alert rules (#6772)
* Add service alert rules https://community.librenms.org/t/configuring-alerting-via-nagios-plugins/1389/5?u=florianbeer * Fix escaping * Update alert_rules.json
This commit is contained in:
committed by
Neil Lathwood
co-authored by
Neil Lathwood
parent
924137ebd8
commit
7442f8d40d
@@ -101,5 +101,13 @@
|
||||
{
|
||||
"rule": "%wireless_sensors.sensor_class = 'clients' && %wireless_sensors.sensor_current >= %wireless_sensors.sensor_limit && %wireless_sensors.sensor_alert = \"1\" && %macros.device_up = \"1\"",
|
||||
"name": "Too many wireless clients"
|
||||
},
|
||||
{
|
||||
"rule": "Service warning",
|
||||
"name": "%services.service_status = \"1\""
|
||||
},
|
||||
{
|
||||
"rule": "Service critical",
|
||||
"name": "%services.service_status = \"2\""
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user