mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Initial work to add user script templates
This commit is contained in:
parent
7493b02a07
commit
1dd93e7845
8 changed files with 36 additions and 18 deletions
|
|
@ -116,6 +116,8 @@ result.filters = user_scripts.getDefaultFilters(interface.getId(), subdir, scrip
|
|||
-------------------------------
|
||||
local hooks_config = user_scripts.getScriptConfig(config_set, script, subdir)
|
||||
|
||||
-- script.template:render(hooks_config)
|
||||
|
||||
for hook, config in pairs(hooks_config) do
|
||||
local granularity_info = alert_consts.alerts_granularities[hook]
|
||||
local label = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue