mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
21 lines
548 B
Lua
21 lines
548 B
Lua
local alert_keys = require "alert_keys"
|
|
|
|
-- #################################################
|
|
|
|
local function createUnexpectedDHCP(alert_severity, dhcp_info)
|
|
local built = {
|
|
alert_severity= alert_severity,
|
|
alert_type_params = dhcp_info
|
|
}
|
|
|
|
return built
|
|
end
|
|
|
|
-- #################################################
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_unexpected_dhcp_server,
|
|
i18n_title = "unexpected_dhcp.alert_unexpected_dhcp_title",
|
|
icon = "fas fa-exclamation",
|
|
creator = createUnexpectedDHCP,
|
|
}
|