mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fixes various lua memory issues
This commit is contained in:
parent
eb52f62b1e
commit
5edfdeedcd
53 changed files with 336 additions and 551 deletions
|
|
@ -4,11 +4,12 @@
|
|||
|
||||
local alerts_api = require("alerts_api")
|
||||
local alert_consts = require("alert_consts")
|
||||
local checks = require("checks")
|
||||
local alert_categories = require "alert_categories"
|
||||
local field_units = require "field_units"
|
||||
|
||||
local script = {
|
||||
-- Script category
|
||||
category = checks.check_categories.network,
|
||||
category = alert_categories.network,
|
||||
|
||||
default_enabled = false,
|
||||
severity = alert_consts.get_printable_severities().error,
|
||||
|
|
@ -24,7 +25,7 @@ local script = {
|
|||
gui = {
|
||||
i18n_title = "alerts_thresholds_config.egress_traffic",
|
||||
i18n_description = "alerts_thresholds_config.alert_network_egress_description",
|
||||
i18n_field_unit = checks.field_units.bytes,
|
||||
i18n_field_unit = field_units.bytes,
|
||||
input_builder = "threshold_cross",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue