mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +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,6 +1,10 @@
|
|||
local alert_consts = require("alert_consts")
|
||||
local status_keys = require "flow_keys"
|
||||
|
||||
local function formatUnexpected(flowstatus_info)
|
||||
return(i18n("unexpected_smtp.status_unexpected_smtp_description", { server=flowstatus_info.server_ip} ))
|
||||
end
|
||||
|
||||
return {
|
||||
status_key = status_keys.ntopng.status_unexpected_smtp_server,
|
||||
alert_type = alert_consts.alert_types.alert_unexpected_smtp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue