ntopng/scripts/callbacks/system/housekeeping.lua
Simone Mainardi 5317d23fc2 Disables ZMQ flow collection drop alerts (waiting to make them engaged)
Revert "Implements ZMQ flow collection drops alerts"

This reverts commit d21e8d6f3e.
2019-01-24 15:02:22 +01:00

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)