Implements constant flow and alert ids

Enlarges AlertType size

Changes alerts database
This commit is contained in:
Simone Mainardi 2020-04-14 18:41:10 +02:00
parent 577a82d2eb
commit 4177ee61ab
64 changed files with 352 additions and 56 deletions

View file

@ -2,6 +2,8 @@
-- (C) 2019-20 - ntop.org
--
local alert_keys = require "alert_keys"
local function formatMisconfiguredApp(ifid, alert, threshold_info)
local alert_consts = require("alert_consts")
local entity = alert_consts.formatAlertEntity(ifid, alert_consts.alertEntityRaw(alert["alert_entity"]), alert["alert_entity_val"])
@ -18,6 +20,7 @@ end
-- #######################################################
return {
alert_key = alert_keys.ntopng.alert_misconfigured_app,
i18n_title = "alerts_dashboard.misconfigured_app",
icon = "fas fa-cog",
i18n_description = formatMisconfiguredApp,