mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Add AS alert entity. Fix AS threshold crossed.
This commit is contained in:
parent
fa35d9183a
commit
ba382f7316
13 changed files with 174 additions and 17 deletions
|
|
@ -307,6 +307,7 @@ end
|
|||
-- ! @note false is also returned if an existing alert is found and refreshed
|
||||
function alerts_api.trigger(entity_info, type_info, when, cur_alerts)
|
||||
local json = require("dkjson")
|
||||
|
||||
if (not areAlertsEnabled()) then
|
||||
return (false)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue