mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
* Modified blacklisted script in view of the new flow_script API * Modified plugins scripting in view of the new API * Modified flow scripts with the new trigger API * Fixed creators severity Co-authored-by: matteo <biscosi@ntop.org>
20 lines
485 B
Lua
20 lines
485 B
Lua
local alert_keys = require "alert_keys"
|
|
|
|
-- #################################################
|
|
|
|
local function createUnexpectedNTP(ntp_info)
|
|
local built = {
|
|
alert_type_params = ntp_info
|
|
}
|
|
|
|
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,
|
|
}
|