Implements the ability to list/configure alarm exceptions

Implements #5461
This commit is contained in:
Simone Mainardi 2021-06-09 19:35:42 +02:00
parent 2acca71f1d
commit 507d8dce28
14 changed files with 764 additions and 5 deletions

View file

@ -0,0 +1,10 @@
--
-- (C) 2019-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local alert_rest_utils = require "alert_rest_utils"
alert_rest_utils.delete_alert_exclusions("host", _POST["alert_addr"], _POST["alert_key"])