mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +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
|
|
@ -3,8 +3,6 @@
|
|||
--
|
||||
|
||||
local checks = require ("checks")
|
||||
local alerts_api = require "alerts_api"
|
||||
local alert_consts = require("alert_consts")
|
||||
local flow_alert_keys = require "flow_alert_keys"
|
||||
|
||||
-- #################################################################
|
||||
|
|
@ -25,7 +23,7 @@ local script = {
|
|||
field_max = 99, -- 99%
|
||||
field_operator = "gt";
|
||||
i18n_fields_unit = checks.field_units.percentage,
|
||||
title = i18n('retransmission')
|
||||
i18n_title = 'retransmission'
|
||||
},
|
||||
out_of_orders = {
|
||||
default_value = 15, -- 15%,
|
||||
|
|
@ -33,7 +31,7 @@ local script = {
|
|||
field_max = 99, -- 99%
|
||||
field_operator = "gt";
|
||||
i18n_fields_unit = checks.field_units.percentage,
|
||||
title = i18n('out_of_order')
|
||||
i18n_title = 'out_of_order'
|
||||
},
|
||||
packet_loss = {
|
||||
default_value = 15, -- 15%,
|
||||
|
|
@ -41,7 +39,7 @@ local script = {
|
|||
field_max = 99, -- 99%
|
||||
field_operator = "gt";
|
||||
i18n_fields_unit = checks.field_units.percentage,
|
||||
title = i18n('packet_loss')
|
||||
i18n_title = 'packet_loss'
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue