mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
30 lines
742 B
Lua
30 lines
742 B
Lua
--
|
|
-- (C) 2019-24 - ntop.org
|
|
--
|
|
|
|
local checks = require("checks")
|
|
local host_alert_keys = require "host_alert_keys"
|
|
local alert_consts = require("alert_consts")
|
|
|
|
-- #################################################################
|
|
|
|
local p2p = {
|
|
-- Script category
|
|
category = checks.check_categories.network,
|
|
severity = alert_consts.get_printable_severities().error,
|
|
|
|
default_enabled = false,
|
|
alert_id = host_alert_keys.host_alert_external_script,
|
|
|
|
default_value = {
|
|
},
|
|
|
|
gui = {
|
|
i18n_title = "alerts_thresholds_config.external_host_script_title",
|
|
i18n_description = "alerts_thresholds_config.external_host_script_description",
|
|
},
|
|
}
|
|
|
|
-- #################################################################
|
|
|
|
return p2p
|