mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Moves alert and status definitions under lua/modules/
This commit is contained in:
parent
8a3c115e9d
commit
ce4d69a273
8 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue