ntopng/scripts/lua/modules/check_definitions/host/external_host_script.lua
2023-01-26 15:34:54 +01:00

30 lines
742 B
Lua

--
-- (C) 2019-23 - 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