mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Replace an existing flow alert if a more critical problem is found
Also add the flow score into the database
This commit is contained in:
parent
0a0a3c4537
commit
e3d3d3992f
8 changed files with 145 additions and 84 deletions
|
|
@ -25,7 +25,7 @@ local script = {
|
|||
function script.hooks.protocolDetected(now)
|
||||
if(flow.isRemoteToRemote() and flow.isUnicast()) then
|
||||
flow.setStatus(flow_consts.status_types.status_remote_to_remote,
|
||||
50--[[ flow score]], 50--[[ cli score ]], 50--[[ srv score ]])
|
||||
10--[[ flow score]], 10--[[ cli score ]], 10--[[ srv score ]])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue