mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Updated alert to NDPI_NUMERIC_IP_HOST
This commit is contained in:
parent
86e327302a
commit
fc82eff56b
11 changed files with 31 additions and 31 deletions
|
|
@ -12,12 +12,12 @@ local alert = require "alert"
|
|||
|
||||
-- ##############################################
|
||||
|
||||
local alert_ndpi_http_numeric_ip_host = classes.class(alert)
|
||||
local alert_ndpi_numeric_ip_host = classes.class(alert)
|
||||
|
||||
-- ##############################################
|
||||
|
||||
alert_ndpi_http_numeric_ip_host.meta = {
|
||||
alert_key = flow_alert_keys.flow_alert_ndpi_http_numeric_ip_host,
|
||||
alert_ndpi_numeric_ip_host.meta = {
|
||||
alert_key = flow_alert_keys.flow_alert_ndpi_numeric_ip_host,
|
||||
i18n_title = "alerts_dashboard.ndpi_http_numeric_ip_host_title",
|
||||
icon = "fas fa-fw fa-exclamation",
|
||||
|
||||
|
|
@ -29,17 +29,17 @@ alert_ndpi_http_numeric_ip_host.meta = {
|
|||
|
||||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @return A table with the alert built
|
||||
function alert_ndpi_http_numeric_ip_host:init()
|
||||
function alert_ndpi_numeric_ip_host:init()
|
||||
-- Call the parent constructor
|
||||
self.super:init()
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
||||
function alert_ndpi_http_numeric_ip_host.format(ifid, alert, alert_type_params)
|
||||
function alert_ndpi_numeric_ip_host.format(ifid, alert, alert_type_params)
|
||||
return
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
||||
return alert_ndpi_http_numeric_ip_host
|
||||
return alert_ndpi_numeric_ip_host
|
||||
Loading…
Add table
Add a link
Reference in a new issue