Reworks and simplifies engaged alert counters

This commit is contained in:
Simone Mainardi 2021-05-07 12:04:44 +02:00
parent 228c85d850
commit 721fa2680f
4 changed files with 16 additions and 29 deletions

View file

@ -147,7 +147,6 @@ function cpu_utils.systemHostStats()
local system_host_stats = ntop.systemHostStat()
system_host_stats["cpu_states"] = cpu_utils.get_cpu_states()
system_host_stats["engaged_alerts"] = alert_utils.getNumAlerts("engaged", {})
interface.select(tostring(cur_id))