mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes behavior anomaly alert key not found
This commit is contained in:
parent
fd40e51428
commit
47497ca666
5 changed files with 45 additions and 37 deletions
|
|
@ -37,21 +37,6 @@ local alert_utils = {}
|
|||
|
||||
-- ##############################################
|
||||
|
||||
local behavior_utils = {
|
||||
asn = {
|
||||
page_path = "/lua/as_details.lua",
|
||||
timeserie_id = "asn",
|
||||
schema_id = "asn",
|
||||
},
|
||||
network = {
|
||||
page_path = "/lua/network_details.lua",
|
||||
timeserie_id = "network",
|
||||
schema_id = "subnet",
|
||||
}
|
||||
}
|
||||
|
||||
-- ##############################################
|
||||
|
||||
local function alertTypeDescription(alert_key, entity_id)
|
||||
|
||||
local alert_id = alert_consts.getAlertType(alert_key, entity_id)
|
||||
|
|
@ -792,10 +777,6 @@ function alert_utils.notify_ntopng_stop()
|
|||
return(notify_ntopng_status(false))
|
||||
end
|
||||
|
||||
function alert_utils.get_behavior_timeseries_utils(family_key)
|
||||
return behavior_utils[family_key]
|
||||
end
|
||||
|
||||
-- #####################################
|
||||
|
||||
function alert_utils.formatBehaviorAlert(params, anomalies, stats, id, subtype, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue