mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements #3811 Implements #3812 Refactors builtin alerts Refactors builtin flow statuses
16 lines
361 B
Lua
16 lines
361 B
Lua
--
|
|
-- (C) 2019-20 - ntop.org
|
|
--
|
|
|
|
local alert_keys = require "alert_keys"
|
|
|
|
local function formatInfluxdbErrorMessage(ifid, alert, status)
|
|
return(status.error_msg)
|
|
end
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_influxdb_error,
|
|
i18n_title = "alerts_dashboard.influxdb_error",
|
|
i18n_description = formatInfluxdbErrorMessage,
|
|
icon = "fas fa-database",
|
|
}
|