mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +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
|
|
@ -226,7 +226,7 @@ local function init_runtime_paths()
|
|||
modules = os_utils.fixPath(runtime_path) .. "/modules",
|
||||
httpdocs = os_utils.fixPath(runtime_path) .. "/httpdocs",
|
||||
|
||||
-- User scripts
|
||||
-- Checks
|
||||
interface_scripts = os_utils.fixPath(runtime_path .. "/callbacks/interface/interface"),
|
||||
host_scripts = os_utils.fixPath(runtime_path .. "/callbacks/interface/host"),
|
||||
network_scripts = os_utils.fixPath(runtime_path .. "/callbacks/interface/network"),
|
||||
|
|
@ -669,7 +669,7 @@ function plugins_utils.loadPlugins(community_plugins_only)
|
|||
-- Reload the periodic scripts to load the new plugins
|
||||
ntop.reloadPeriodicScripts()
|
||||
|
||||
-- Reload user scripts with their configurations
|
||||
-- Reload checks with their configurations
|
||||
local checks = require "checks"
|
||||
checks.initDefaultConfig()
|
||||
checks.loadUnloadUserScripts(true --[[ load --]])
|
||||
|
|
@ -1012,7 +1012,7 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Load a plugin Lua template, e.g., those used for plugin user scripts
|
||||
-- @brief Load a plugin Lua template, e.g., those used for plugin checks
|
||||
function plugins_utils.loadTemplate(plugin_name, template_file)
|
||||
-- Attempt at locating the template class under the plugin templates directory
|
||||
-- Locate the template directory of the plugin containing this user script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue