mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add entity based filter in Recipient configuration
This commit is contained in:
parent
b81a031722
commit
a463ff59f8
18 changed files with 185 additions and 32 deletions
|
|
@ -464,11 +464,12 @@ function endpoints.add_configs_with_recipients(configs)
|
|||
for _, recipient_conf in ipairs(conf.recipients) do
|
||||
local endpoint_recipient_name = recipient_conf.recipient_name
|
||||
local check_categories = recipient_conf.check_categories
|
||||
local check_entities = recipient_conf.check_entities
|
||||
local minimum_severity = recipient_conf.minimum_severity
|
||||
local recipient_params = recipient_conf.recipient_params
|
||||
|
||||
ret = recipients.add_recipient(ret.endpoint_id, endpoint_recipient_name,
|
||||
check_categories, minimum_severity,
|
||||
check_categories, check_entities, minimum_severity,
|
||||
{}, -- Host pools - restore should take care of this automatically
|
||||
{}, -- Interface pools - restore should take care of this automatically
|
||||
recipient_params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue