mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Modified flow scripts in view of the new trigger_status (#4710)
* Modified blacklisted script in view of the new flow_script API * Modified plugins scripting in view of the new API * Modified flow scripts with the new trigger API * Fixed creators severity Co-authored-by: matteo <biscosi@ntop.org>
This commit is contained in:
parent
283bd7179c
commit
0e341f3d0b
50 changed files with 146 additions and 209 deletions
|
|
@ -13,7 +13,7 @@ local alert_consts = require("alert_consts")
|
|||
-- #################################################################
|
||||
|
||||
-- @brief This function is called each time this status should be formatted
|
||||
-- @param flowstatus_info: the data passed in flow.triggerStatus by
|
||||
-- @param flowstatus_info: the data passed in flow.trigger_status by
|
||||
-- the triggering user_script (user_scripts/flow/example.lua in this plugin).
|
||||
-- @return a descriptive string of the flow status
|
||||
local function formatExampleStatus(flowstatus_info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue