mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements alerted flows counters and shows them in the footer
Implements #2863
This commit is contained in:
parent
e720708ea1
commit
7f150ef407
7 changed files with 50 additions and 15 deletions
|
|
@ -84,6 +84,7 @@ function dumpInterfaceStats(ifid)
|
|||
if prefs.are_alerts_enabled == true then
|
||||
res["engaged_alerts"] = ifstats["num_alerts_engaged"] or 0
|
||||
res["dropped_alerts"] = ifstats["num_dropped_alerts"] or 0
|
||||
res["alerted_flows"] = ifstats["num_alerted_flows"] or 0
|
||||
res["has_alerts"] = ifstats["has_alerts"]
|
||||
res["ts_alerts"] = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue