mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Implements flow callbacks and alerts in C++
This commit is contained in:
parent
3659188002
commit
aea9138bfb
353 changed files with 10790 additions and 4455 deletions
|
|
@ -153,15 +153,6 @@ local function addAlertHostInfo(triggered)
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
-- ##############################################
|
||||
|
||||
--! @param type_info data returned by one of the type_info building functions
|
||||
function alerts_api.trigger_status(type_info, alert_severity, cli_score, srv_score, flow_score)
|
||||
type_info.status_type.alert_severity = alert_severity
|
||||
flow.triggerStatus(type_info, flow_score, cli_score, srv_score)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
--@brief Check if the `alert` belongs to an exclusion list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue