mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +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
|
|
@ -11,7 +11,7 @@ local script
|
|||
-- ##############################################
|
||||
|
||||
local function alert_info(ps_name, last_queued_time)
|
||||
local alert_info = alert_consts.alert_types.alert_periodic_activity_not_executed.builder(
|
||||
local alert_info = alert_consts.alert_types.alert_periodic_activity_not_executed.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
alert_consts.alerts_granularities.min,
|
||||
ps_name,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ local script
|
|||
-- ##############################################
|
||||
|
||||
local function alert_info(ps_name, max_duration_ms)
|
||||
local alert_info = alert_consts.alert_types.alert_slow_periodic_activity.builder(
|
||||
local alert_info = alert_consts.alert_types.alert_slow_periodic_activity.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
alert_consts.alerts_granularities.min,
|
||||
ps_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue