Implement dropped alerts per-interface counter

This commit is contained in:
emanuele-f 2019-07-18 15:42:35 +02:00
parent a5bf74b2b6
commit 3383ac0913
7 changed files with 86 additions and 26 deletions

View file

@ -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"] = {}