mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Notify if a sensor has been deleted (#12755)
This commit is contained in:
@@ -518,5 +518,9 @@
|
||||
{
|
||||
"rule": "UNIX_TIMESTAMP() - UNIX_TIMESTAMP(devices.last_polled) > COALESCE((select config_value from config WHERE config_name=\"rrd.heartbeat\"), 300)",
|
||||
"name": "Device unpolled"
|
||||
}
|
||||
},
|
||||
{
|
||||
"rule": "eventlog.message ~ \"Deleted\" && eventlog.datetime >= `DATE_SUB(NOW(),INTERVAL 12 Hour)`",
|
||||
"name": "A Device sensor has been deleted"
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user