Simplifies and keeps per-family alert counters

This commit is contained in:
Simone Mainardi 2021-05-07 10:21:32 +02:00
parent ae2c789984
commit ec06e6568f
13 changed files with 50 additions and 109 deletions

View file

@ -117,8 +117,6 @@ function dumpInterfaceStats(ifid)
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"]
end
if periodic_activities_utils.have_degraded_performance() then