Handles per-interface alerts via the AlertsManager

This commit moves the global ntopng-wide alerts to
interfaces' AlertsManager s
This commit is contained in:
Simone Mainardi 2016-08-09 16:47:36 +02:00
parent 6e91918ea8
commit 52abb7659a
17 changed files with 262 additions and 203 deletions

View file

@ -119,7 +119,7 @@ function alert_move_ongoing_to_closed(ifid, ongoing_hname, ongoing_hkey)
-- and move it to the closed list
alert = forge_alert(alert, nil, nil, nil, os.time())
ntop.storeAlert(ifid, alert)
interface.storeAlert(ifid, alert)
return true
end