mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
23 lines
560 B
Lua
23 lines
560 B
Lua
local alert_keys = require "alert_keys"
|
|
|
|
-- #################################################
|
|
|
|
local function createUnexpectedSMTP(client_ip, server_ip)
|
|
local built = {
|
|
alert_type_params = {
|
|
client_ip = client_ip,
|
|
server_ip = server_ip
|
|
}
|
|
}
|
|
|
|
return built
|
|
end
|
|
|
|
-- #################################################
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_unexpected_smtp_server,
|
|
i18n_title = "unexpected_smtp.alert_unexpected_smtp_title",
|
|
icon = "fas fa-exclamation",
|
|
creator = createUnexpectedSMTP,
|
|
}
|