mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Refactors user_scripts into checks (lua)
This commit is contained in:
parent
3c3aa5a25f
commit
76fd315d1b
222 changed files with 980 additions and 981 deletions
|
|
@ -13,7 +13,7 @@ local host_pools_instance = host_pools:create()
|
|||
local callback_utils = require "callback_utils"
|
||||
local ts_utils = require "ts_utils_core"
|
||||
local format_utils = require "format_utils"
|
||||
local user_scripts = require "user_scripts"
|
||||
local checks = require "checks"
|
||||
require "ts_5min"
|
||||
|
||||
-- Set to true to debug host timeseries points timestamps
|
||||
|
|
@ -709,7 +709,7 @@ end
|
|||
|
||||
-- This performs all the 5 minutes tasks execept the timeseries dump
|
||||
function ts_dump.run_5min_tasks(_ifname, ifstats)
|
||||
user_scripts.schedulePeriodicScripts("5mins")
|
||||
checks.schedulePeriodicScripts("5mins")
|
||||
end
|
||||
|
||||
-- ########################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue