1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
--
-- (C) 2019-22 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local checks = require "checks"
-- #################################################################
-- Just like for local_network_checks.lua, here periodic system
-- checks are executed with the right granularity
-- #################################################################
local checks_var = {
ifid = nil,
system_ts_enabled = nil,
system_config = nil,
available_modules = nil,
configset = nil,
do_benchmark = false,
do_print_benchmark = false
}
local granularity = "day"
local do_trace = false
-- #################################################################
checks.systemChecks(granularity, checks_var, do_trace)
|