mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Migrate interface alerts to in-memory alerts
This commit is contained in:
parent
346627eb74
commit
d85fc2b06b
5 changed files with 78 additions and 31 deletions
|
|
@ -71,6 +71,17 @@ end
|
|||
|
||||
-- ##################################################################
|
||||
|
||||
-- Remove the json dumps previously needed for alerts generation
|
||||
for _, ifname in pairs(interface.getIfNames()) do
|
||||
interface.select(ifname)
|
||||
local ifid = getInterfaceId(ifname)
|
||||
|
||||
local alerts_status_path = fixPath(dirs.workingdir .. "/" .. ifid .. "/json/")
|
||||
ntop.rmdir(alerts_status_path)
|
||||
end
|
||||
|
||||
-- ##################################################################
|
||||
|
||||
initCustomnDPIProtoCategories()
|
||||
loadHostBlackList()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue