mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
parent
81f55a02a4
commit
f7e1ea9709
164 changed files with 106 additions and 84 deletions
|
|
@ -0,0 +1,26 @@
|
|||
--
|
||||
-- (C) 2019-20 - ntop.org
|
||||
--
|
||||
|
||||
local alert_keys = require "alert_keys"
|
||||
|
||||
-- This file defines a new alert, with key "alert_example" (the file name)
|
||||
-- Alerts can be triggered by the user scripts located into the "user_scripts"
|
||||
-- directory of the plugin.
|
||||
|
||||
return {
|
||||
alert_key = alert_keys.ntopng.alert_example,
|
||||
-- The name associated to this alert. Localized strings are defined in
|
||||
-- example/locales/en.lua
|
||||
i18n_title = "example.alert_title",
|
||||
|
||||
-- An icon (css class name) associated to this alert. ntopng supports icons
|
||||
-- from https://fontawesome.com .
|
||||
icon = "fas fa-exclamation",
|
||||
|
||||
-- An optional alert message to show when the alert is triggered. For flow
|
||||
-- alerts, however, the alert message is defined into the status associated
|
||||
-- to the alert, which is example/status_definitions/status_example.lua for
|
||||
-- this plugin.
|
||||
i18n_description = "example.alert_description",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue