mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Unify syslog with user scripts API
This commit is contained in:
parent
b9fa26174c
commit
ab0094c1c3
10 changed files with 52 additions and 76 deletions
|
|
@ -23,7 +23,7 @@ function setup(str_granularity)
|
|||
local ifname = interface.setActiveInterfaceId(ifid)
|
||||
|
||||
-- Load the check modules
|
||||
available_modules = user_scripts.load(ifid, "interface", str_granularity)
|
||||
available_modules = user_scripts.load(user_scripts.script_types.traffic_element, ifid, "interface", str_granularity)
|
||||
|
||||
config_alerts = getInterfaceConfiguredAlertThresholds(ifname, str_granularity, available_modules.modules)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue