mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
25 lines
697 B
Lua
25 lines
697 B
Lua
--
|
|
-- (C) 2019-20 - ntop.org
|
|
--
|
|
|
|
local alert_keys = require "alert_keys"
|
|
local alert_creators = require "alert_creators"
|
|
|
|
-- #######################################################
|
|
|
|
local function poolConnectionFormat(ifid, alert, info)
|
|
return(i18n("alert_messages.host_pool_has_connected", {
|
|
pool = info.pool,
|
|
url = getHostPoolUrl(alert.alert_entity_val),
|
|
}))
|
|
end
|
|
|
|
-- #######################################################
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_host_pool_connection,
|
|
i18n_title = "alerts_dashboard.host_pool_connection",
|
|
i18n_description = poolConnectionFormat,
|
|
icon = "fas fa-sign-in",
|
|
creator = alert_creators.createPoolConnectionDisconnection,
|
|
}
|