mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Enqueueing alerts as soon as they are detected, instead of using 2-steps (#3038)
This commit is contained in:
parent
c4ad235bf8
commit
280213e148
6 changed files with 44 additions and 55 deletions
|
|
@ -172,6 +172,8 @@ function alerts_api.checkPendingStoreAlerts(deadline)
|
|||
alert.srv2cli.bytes, alert.srv2cli.packets)
|
||||
|
||||
if ret and ret.rowid and ret.rowid > 0 then
|
||||
-- pushFlowAlertNotification should be probably moved earlier to
|
||||
-- flow.lua:triggerFlowAlert for consistency with the host alerts
|
||||
pushFlowAlertNotification(ifid, ret.rowid)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue