mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-08 06:24:34 +00:00
31 lines
841 B
Lua
31 lines
841 B
Lua
--
|
|
-- (C) 2013-18 - ntop.org
|
|
--
|
|
-- This script is used to perform activities that are low
|
|
-- priority with respect to second.lua but that require
|
|
-- near realtime execution.
|
|
-- This script is executed every few seconds (default 3)
|
|
--
|
|
|
|
local dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
|
|
require "lua_utils"
|
|
require "alert_utils"
|
|
local callback_utils = require "callback_utils"
|
|
local lists_utils = require "lists_utils"
|
|
local recording_utils = require "recording_utils"
|
|
local now = os.time()
|
|
|
|
check_mac_ip_association_alerts()
|
|
if ntop.isnEdge() then
|
|
check_nfq_flushed_queue_alerts()
|
|
end
|
|
check_host_remote_to_remote_alerts()
|
|
check_process_alerts()
|
|
callback_utils.uploadTSdata()
|
|
lists_utils.checkReloadLists()
|
|
|
|
recording_utils.checkExtractionJobs()
|
|
|
|
processAlertNotifications(now, 3)
|