mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +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
|
|
@ -6,12 +6,12 @@ local dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
|
||||
|
||||
local alerts_api = require("alerts_api")
|
||||
local checks = require("checks")
|
||||
local alert_consts = require("alert_consts")
|
||||
local alert_categories = require "alert_categories"
|
||||
|
||||
local script = {
|
||||
-- Script category
|
||||
category = checks.check_categories.ids_ips,
|
||||
category = alert_categories.ids_ips,
|
||||
severity = alert_consts.get_printable_severities().notice,
|
||||
|
||||
default_enabled = false,
|
||||
|
|
@ -27,7 +27,6 @@ local script = {
|
|||
-- #################################################################
|
||||
|
||||
local function check_ids_ips_log(params)
|
||||
local alert_consts = require "alert_consts"
|
||||
local info = params.entity_info
|
||||
local drop_host_pool_utils = require "drop_host_pool_utils"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue