mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +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
|
|
@ -1,21 +0,0 @@
|
|||
local alert_keys = require "alert_keys"
|
||||
|
||||
-- #################################################
|
||||
|
||||
local function createUnexpectedNTP(alert_severity, ntp_info)
|
||||
local built = {
|
||||
alert_severity= alert_severity,
|
||||
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,
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
local alert_consts = require("alert_consts")
|
||||
local status_keys = require "flow_keys"
|
||||
|
||||
return {
|
||||
status_key = status_keys.ntopng.status_unexpected_ntp_server,
|
||||
alert_severity = alert_consts.alert_severities.error,
|
||||
alert_type = alert_consts.alert_types.alert_unexpected_ntp,
|
||||
i18n_title = "unexpected_ntp.unexpected_ntp_title",
|
||||
i18n_description = "unexpected_ntp.status_unexpected_ntp_description",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue