mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 08:50:12 +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
|
|
@ -586,7 +586,7 @@ local function amThresholdCrossType(value, threshold, ip, granularity, entity_in
|
|||
local host = am_utils.key2host(entity_info.alert_entity_val)
|
||||
local m_info = am_utils.getMeasurementInfo(host.measurement)
|
||||
|
||||
local alert_type = alert_consts.alert_types.alert_am_threshold_cross.builder(
|
||||
local alert_type = alert_consts.alert_types.alert_am_threshold_cross.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
alert_consts.alerts_granularities[granularity],
|
||||
value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue