mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
27 lines
804 B
Lua
27 lines
804 B
Lua
--
|
|
-- (C) 2019-20 - ntop.org
|
|
--
|
|
|
|
-- #######################################################
|
|
|
|
local alert_keys = require "alert_keys"
|
|
|
|
-- #######################################################
|
|
|
|
local function formatRemoteToRemoteMessage(ifid, alert, remote_to_remote_info)
|
|
local alert_consts = require("alert_consts")
|
|
local entity = alert_consts.formatAlertEntity(ifid, alert_consts.alertEntityRaw(alert["alert_entity"]), alert["alert_entity_val"])
|
|
|
|
return i18n("alert_messages.remote_to_remote", {
|
|
entity = entity,
|
|
})
|
|
end
|
|
|
|
-- #######################################################
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_remote_to_remote,
|
|
i18n_title = "alerts_dashboard.remote_to_remote",
|
|
i18n_description = formatRemoteToRemoteMessage,
|
|
icon = "fas fa-exclamation",
|
|
}
|