mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +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
|
|
@ -266,9 +266,9 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
end
|
||||
|
||||
local column_proto_l4 = ''
|
||||
if value["alerted_status"] then
|
||||
local status_info = alert_consts.statusTypeLabel(value["alerted_status"], true)
|
||||
column_proto_l4 = alert_consts.statusTypeIcon(value["alerted_status"], value["alerted_severity"]) -- "<i class='fas fa-exclamation-triangle' style=' title='"..noHtml(status_info) .."'></i> "
|
||||
if value["predominant_alert"] then
|
||||
local alert_info = alert_consts.alertTypeLabel(value["predominant_alert"], true)
|
||||
column_proto_l4 = alert_consts.alertTypeIcon(value["predominant_alert"], value["alerted_severity"]) -- "<i class='fas fa-exclamation-triangle' style=' title='"..noHtml(alert_info) .."'></i> "
|
||||
end
|
||||
|
||||
column_proto_l4 = column_proto_l4..value["proto.l4"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue