mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Rework user script working sets (a single configset is supported now)
This commit is contained in:
parent
03512b963f
commit
fa311e3ade
45 changed files with 259 additions and 1077 deletions
|
|
@ -24,7 +24,6 @@ end
|
|||
sendHTTPContentTypeHeader('application/json')
|
||||
|
||||
local subdir = _POST["script_subdir"]
|
||||
local confset_id = tonumber(_POST["confset_id"] or user_scripts.DEFAULT_CONFIGSET_ID)
|
||||
local script_key = _POST["script_key"]
|
||||
local alert_severity = _POST['alert_severity']
|
||||
local alert_exclusion_list = _POST['script_exclusion_list']
|
||||
|
|
@ -81,7 +80,7 @@ if alert_exclusion_list ~= nil then
|
|||
end
|
||||
end
|
||||
|
||||
success, err = user_scripts.updateScriptConfig(confset_id, script_key, subdir, data, additional_params, additional_filters)
|
||||
success, err = user_scripts.updateScriptConfig(script_key, subdir, data, additional_params, additional_filters)
|
||||
|
||||
::response::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue