Load new configsets while loading user scripts

Hosts/SNMP devices will be handled separately
This commit is contained in:
emanuele-f 2019-12-20 12:16:53 +01:00
parent a134ddfbc0
commit f62aa15117
7 changed files with 59 additions and 14 deletions

View file

@ -71,7 +71,7 @@ if(script.gui) then
end
end
local hooks_config = user_scripts.getConfigsetHooksConf(config_set, script, subdir)
local hooks_config = user_scripts.getConfigsetHooksConf(config_set, script)
for hook, config in pairs(hooks_config) do
local granularity_info = alert_consts.alerts_granularities[hook]