mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Users scripts api changes and initial documentation
This commit is contained in:
parent
e05f9aa4f4
commit
ffd3b4c1ee
57 changed files with 489 additions and 872 deletions
|
|
@ -5,7 +5,7 @@ local host_pools_utils = require "host_pools_utils"
|
|||
local callback_utils = require "callback_utils"
|
||||
local ts_utils = require "ts_utils_core"
|
||||
local format_utils = require "format_utils"
|
||||
local check_modules = require("check_modules")
|
||||
local user_scripts = require("user_scripts")
|
||||
require "ts_5min"
|
||||
|
||||
-- Set to true to debug host timeseries points timestamps
|
||||
|
|
@ -403,7 +403,7 @@ function ts_dump.run_5min_dump(_ifname, ifstats, config, when, time_threshold, s
|
|||
local num_processed_hosts = 0
|
||||
local min_instant = when - (when % 60) - 60
|
||||
|
||||
check_modules.runPeriodicScripts("5mins")
|
||||
user_scripts.runPeriodicScripts("5mins")
|
||||
|
||||
local dump_tstart = os.time()
|
||||
local dumped_hosts = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue