mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implement user scripts overview page
This commit is contained in:
parent
7683989920
commit
db269e54a8
5 changed files with 97 additions and 1 deletions
|
|
@ -324,6 +324,7 @@ function user_scripts.load(script_type, ifid, subdir, hook_filter, ignore_disabl
|
|||
-- Augument with additional attributes
|
||||
user_script.enabled = user_scripts.isEnabled(ifid, subdir, user_script.key)
|
||||
user_script.is_alert = is_alert_path
|
||||
user_script.path = os_utils.fixPath(checks_dir .. "/" .. fname)
|
||||
|
||||
if(alerts_disabled and user_script.is_alert) then
|
||||
goto next_module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue