mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Major terminology unification (user scripts -> checks)
This commit is contained in:
parent
cf363eaa10
commit
2e8a6de0fc
31 changed files with 94 additions and 90 deletions
|
|
@ -94,7 +94,7 @@ if((ts_schema == "top:flow_check:duration")
|
|||
or (ts_schema == "top:elem_check:duration")
|
||||
or (ts_schema == "custom:flow_check:total_stats")
|
||||
or (ts_schema == "custom:elem_check:total_stats")) then
|
||||
-- NOTE: Temporary fix for top user scripts page
|
||||
-- NOTE: Temporary fix for top checks page
|
||||
tags.check = nil
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ local rest_utils = require "rest_utils"
|
|||
local import_export_rest_utils = require "import_export_rest_utils"
|
||||
|
||||
--
|
||||
-- Export user scripts configuration
|
||||
-- Export checks configuration
|
||||
-- Example: curl -u admin:admin http://localhost:3000/lua/rest/v1/export/scripts/config.lua
|
||||
--
|
||||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ local os_utils = require "os_utils"
|
|||
local rest_utils = require("rest_utils")
|
||||
|
||||
--
|
||||
-- Read user scripts configuration
|
||||
-- Read checks configuration
|
||||
-- Example: curl -u admin:admin -H "Content-Type: application/json" http://localhost:3000/lua/rest/v1/get/scripts/config.lua
|
||||
--
|
||||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ if((ts_schema == "top:flow_check:duration")
|
|||
or (ts_schema == "top:elem_check:duration")
|
||||
or (ts_schema == "custom:flow_check:total_stats")
|
||||
or (ts_schema == "custom:elem_check:total_stats")) then
|
||||
-- NOTE: Temporary fix for top user scripts page
|
||||
-- NOTE: Temporary fix for top checks page
|
||||
tags.check = nil
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ local import_export_rest_utils = require "import_export_rest_utils"
|
|||
local auth = require "auth"
|
||||
|
||||
--
|
||||
-- Reset User Scripts configuration
|
||||
-- Reset Checks configuration
|
||||
-- Example: curl -u admin:admin http://localhost:3000/lua/rest/v1/reset/scripts/config.lua
|
||||
--
|
||||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue