mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Updates ts.lua with new stacked charts by severity
This commit is contained in:
parent
f5138b71ac
commit
fce6454125
7 changed files with 48 additions and 29 deletions
|
|
@ -32,6 +32,6 @@ end
|
|||
|
||||
interface.select(ifid)
|
||||
|
||||
local count_by_time = mac_alert_store:count_by_time()
|
||||
local count_by_severity_and_time = mac_alert_store:count_by_severity_and_time()
|
||||
|
||||
rest_utils.answer(rc, {series = {{ data = count_by_time, name = i18n("alerts_dashboard.alerts") }}})
|
||||
rest_utils.answer(rc, {series = {{ data = count_by_severity_and_time, name = i18n("alerts_dashboard.alerts") }}})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue