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 formatThresholdCross(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"])
@ -20,6 +22,7 @@ end
-- #######################################################
return {
alert_key = alert_keys.ntopng.alert_threshold_cross,
i18n_title = "alerts_dashboard.threashold_cross",
i18n_description = formatThresholdCross,
icon = "fas fa-arrow-circle-up",