mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes issues with unexpected XXX alerts where impacted server was not reported
Added Lua getFlowProtoClientIP/getFlowProtoServerIP calls in flows
This commit is contained in:
parent
fbbbe4f4ad
commit
06161556ac
19 changed files with 143 additions and 44 deletions
|
|
@ -1,9 +1,13 @@
|
|||
local alert_consts = require("alert_consts")
|
||||
local status_keys = require "flow_keys"
|
||||
|
||||
local function formatUnexpected(flowstatus_info)
|
||||
return(i18n("unexpected_dhcp.status_unexpected_dhcp_description", { server=flowstatus_info.server_ip} ))
|
||||
end
|
||||
|
||||
return {
|
||||
status_key = status_keys.ntopng.status_unexpected_dhcp_server,
|
||||
alert_type = alert_consts.alert_types.alert_unexpected_dhcp,
|
||||
i18n_title = "unexpected_dhcp.unexpected_dhcp_title",
|
||||
i18n_description = "unexpected_dhcp.status_unexpected_dhcp_description",
|
||||
i18n_description = formatUnexpected
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue