mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fixes counter on top of page for engaged alerts (#9140)
This commit is contained in:
parent
f5e032942a
commit
1f4de5ac3b
1 changed files with 2 additions and 0 deletions
|
|
@ -364,6 +364,8 @@ function dumpBriefInterfaceStats(ifid)
|
|||
res["engaged_alerts"] = ifstats["num_alerts_engaged"] or 0
|
||||
res["engaged_alerts_warning"] = ifstats["num_alerts_engaged_by_severity"]["warning"]
|
||||
res["engaged_alerts_error"] = ifstats["num_alerts_engaged_by_severity"]["error"]
|
||||
+ ifstats["num_alerts_engaged_by_severity"]["critical"]
|
||||
+ ifstats["num_alerts_engaged_by_severity"]["emergency"]
|
||||
|
||||
res["alerted_flows"] = ifstats["num_alerted_flows"] or 0
|
||||
res["alerted_flows_warning"] = ifstats["num_alerted_flows_warning"] or 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue