mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Completes the migration to the stateful alerts
This commit is contained in:
parent
66a064011e
commit
a280e53862
13 changed files with 68 additions and 250 deletions
|
|
@ -39,7 +39,8 @@ function dumpInterfaceStats(interface_name)
|
|||
end
|
||||
|
||||
if prefs.are_alerts_enabled == true then
|
||||
res["alerts"] = interface.getNumQueuedAlerts()
|
||||
res["alerts"] = interface.getNumAlerts(false--[[ not engaged --]])
|
||||
res["engaged_alerts"] = interface.getNumAlerts(true --[[ engaged --]])
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue