Removed reusable VMs

This commit is contained in:
Luca Deri 2021-10-20 13:31:33 +02:00
parent bc64da897e
commit d8a1c63f48
13 changed files with 15 additions and 288 deletions

View file

@ -1045,9 +1045,6 @@ local function saveConfigset(configset)
local v = json.encode(configset)
ntop.setCache(CONFIGSET_KEY, v)
-- Reload the periodic scripts as the configuration has changed
ntop.reloadPeriodicScripts()
-- Reload flow and host callbacks executed in C++
ntop.reloadFlowChecks()
ntop.reloadHostChecks()

View file

@ -667,9 +667,6 @@ function plugins_utils.loadPlugins(community_plugins_only)
ntop.swapPluginsDir()
deleteCachePattern("ntonpng.cache.checks.available_system_modules.*")
-- Reload the periodic scripts to load the new plugins
ntop.reloadPeriodicScripts()
-- Reload checks with their configurations
local checks = require "checks"
checks.initDefaultConfig()