mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Handles flow alerts and alert queues in view interfaces
Implements #2828
This commit is contained in:
parent
ab9e6cae3a
commit
9fe404772d
10 changed files with 137 additions and 92 deletions
|
|
@ -668,7 +668,7 @@ local function formatRawFlow(record, flow_json, skip_add_links)
|
|||
local status_info = alert2statusinfo(decoded)
|
||||
|
||||
-- active flow lookup
|
||||
if status_info and status_info["ntopng.key"] and record["alert_tstamp"] then
|
||||
if not interface.isView() and status_info and status_info["ntopng.key"] and record["alert_tstamp"] then
|
||||
-- attempt a lookup on the active flows
|
||||
local active_flow = interface.findFlowByKey(status_info["ntopng.key"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue