mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors user_scripts into checks (lua)
This commit is contained in:
parent
3c3aa5a25f
commit
76fd315d1b
222 changed files with 980 additions and 981 deletions
|
|
@ -6,7 +6,7 @@
|
|||
-- scripts/callbacks/status_defs/status_udp_unidirectional.lua
|
||||
-- scripts/callbacks/interface/flow/udp.lua
|
||||
|
||||
local user_scripts = require("user_scripts")
|
||||
local checks = require("checks")
|
||||
local alerts_api = require "alerts_api"
|
||||
local alert_consts = require("alert_consts")
|
||||
local flow_alert_keys = require "flow_alert_keys"
|
||||
|
|
@ -15,7 +15,7 @@ local flow_alert_keys = require "flow_alert_keys"
|
|||
|
||||
local script = {
|
||||
-- Script category
|
||||
category = user_scripts.script_categories.network,
|
||||
category = checks.script_categories.network,
|
||||
|
||||
-- This script is only for alerts generation
|
||||
alert_id = flow_alert_keys.flow_alert_udp_unidirectional,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue