mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
23 lines
555 B
Lua
23 lines
555 B
Lua
local alert_keys = require "alert_keys"
|
|
|
|
-- #################################################
|
|
|
|
local function createUnexpectedNTP(client_ip, server_ip)
|
|
local built = {
|
|
alert_type_params = {
|
|
client_ip = client_ip,
|
|
server_ip = server_ip
|
|
}
|
|
}
|
|
|
|
return built
|
|
end
|
|
|
|
-- #################################################
|
|
|
|
return {
|
|
alert_key = alert_keys.ntopng.alert_unexpected_ntp_server,
|
|
i18n_title = "unexpected_ntp.alert_unexpected_ntp_title",
|
|
icon = "fas fa-exclamation",
|
|
creator = createUnexpectedNTP,
|
|
}
|