mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Implements active monitoring with the new scheduler
This commit is contained in:
parent
3bf1d9b6eb
commit
823b4f5d91
12 changed files with 145 additions and 197 deletions
12
scripts/callbacks/hourly/system/active_monitoring.lua
Normal file
12
scripts/callbacks/hourly/system/active_monitoring.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--
|
||||
-- (C) 2013-22 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
local ts_dump = require "ts_min_dump_utils"
|
||||
local am_utils = require "am_utils"
|
||||
|
||||
local hosts = am_utils.getHosts(nil, "hour")
|
||||
am_utils.run_am_check(os.time(), hosts, "hour")
|
||||
Loading…
Add table
Add a link
Reference in a new issue