mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Adds new alert_flow_new_api_demo.lua example
This commit is contained in:
parent
8d6dafc897
commit
7950ca3c55
2 changed files with 71 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ local script = {
|
|||
-- #################################################################
|
||||
|
||||
function script.hooks.protocolDetected(now)
|
||||
if false then -- TODO: set to true to execute
|
||||
if true then -- TODO: set to true to execute
|
||||
local cli_score, srv_score, flow_score = 10, 10, 10
|
||||
local alert = alert_consts.alert_types.alert_flow_new_api_demo.new(
|
||||
"one_flow_param",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue