mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implement dropped alerts per-interface counter
This commit is contained in:
parent
a5bf74b2b6
commit
3383ac0913
7 changed files with 86 additions and 26 deletions
|
|
@ -79,6 +79,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["has_alerts"] = ifstats["has_alerts"]
|
||||
res["ts_alerts"] = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue