mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Refactors user_scripts into checks (lua)
This commit is contained in:
parent
3c3aa5a25f
commit
76fd315d1b
222 changed files with 980 additions and 981 deletions
|
|
@ -463,12 +463,12 @@ function endpoints.add_configs_with_recipients(configs)
|
|||
-- Restore Recipients
|
||||
for _, recipient_conf in ipairs(conf.recipients) do
|
||||
local endpoint_recipient_name = recipient_conf.recipient_name
|
||||
local user_script_categories = recipient_conf.user_script_categories
|
||||
local check_categories = recipient_conf.check_categories
|
||||
local minimum_severity = recipient_conf.minimum_severity
|
||||
local recipient_params = recipient_conf.recipient_params
|
||||
|
||||
ret = recipients.add_recipient(ret.endpoint_id, endpoint_recipient_name,
|
||||
user_script_categories, minimum_severity,
|
||||
check_categories, minimum_severity,
|
||||
false, -- Not necessary to bind to every pool: the restore takes care of tis automatically
|
||||
recipient_params)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue