mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Refactors alrt builders into creators
Refactors builders into creators: calls
This commit is contained in:
parent
00c5e9f909
commit
290175b16f
75 changed files with 158 additions and 158 deletions
|
|
@ -14,7 +14,7 @@ local function check_ghost_networks(params)
|
|||
if(domain_info.ghost_network) then
|
||||
local key = params.user_script.key .. "__" .. domain
|
||||
local delta_hits = alerts_api.interface_delta_val(key, params.granularity, domain_info.hits)
|
||||
local ghost_network_type = alert_consts.alert_types.alert_ghost_network.builder(
|
||||
local ghost_network_type = alert_consts.alert_types.alert_ghost_network.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
alert_consts.alerts_granularities[params.granularity],
|
||||
domain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue