mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Implements header and drilldown of flow status severities
This commit is contained in:
parent
d7f1ce0d8c
commit
a2705a8bda
16 changed files with 235 additions and 73 deletions
|
|
@ -110,7 +110,15 @@ 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
|
||||
|
||||
-- Active flow alerts: total
|
||||
res["alerted_flows"] = ifstats["num_alerted_flows"] or 0
|
||||
|
||||
-- Active flow alerts: breakdown
|
||||
res["alerted_flows_notice"] = ifstats["num_alerted_flows_notice"] or 0
|
||||
res["alerted_flows_warning"] = ifstats["num_alerted_flows_warning"] or 0
|
||||
res["alerted_flows_error"] = ifstats["num_alerted_flows_error"] or 0
|
||||
|
||||
res["has_alerts"] = ifstats["has_alerts"]
|
||||
res["ts_alerts"] = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue