mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Handles per-interface alerts via the AlertsManager
This commit moves the global ntopng-wide alerts to interfaces' AlertsManager s
This commit is contained in:
parent
6e91918ea8
commit
52abb7659a
17 changed files with 262 additions and 203 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue