Implements hosts purge mark algorithm

This commit is contained in:
Simone Mainardi 2019-07-18 15:19:36 +02:00
parent 55772d2450
commit 0fd3be6b79
7 changed files with 19 additions and 49 deletions

View file

@ -2674,7 +2674,7 @@ end
-- #################################
function scanAlerts(granularity, ifstats)
-- Always do the scan, at least at one granularity as this is necessary to mark hosts as idle.
if not mustScanAlerts(ifstats) then return end
local ifname = ifstats["name"]
local ifid = getInterfaceId(ifname)