Added uptime check for no_if_activity alert

This commit is contained in:
Matteo Biscosi 2025-04-23 17:04:33 +02:00
parent b8295745bd
commit eba11253f5

View file

@ -24,6 +24,9 @@ local script = {
-- #################################################################
local function check_interface_activity(params)
if ntop.getUptime() < 300 then
return -- Uptime less then 5 minutes, return, maybe it's still updating
end
if interface.isPcapDumpInterface() or interface.isDatabaseViewInterface() then
return -- Not a live interface, skip this check