mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 08:50:12 +00:00
Score changes
- Move score from status definition to user scripts - Separate flow score counter from the peers score - Create a new HostScore class to hold the score data
This commit is contained in:
parent
38facb051a
commit
566b9ece0b
29 changed files with 162 additions and 126 deletions
|
|
@ -29,7 +29,7 @@ function script.hooks.periodicUpdate(now)
|
|||
local info = json.decode(ext_alert_info)
|
||||
if info ~= nil then
|
||||
flow.triggerStatus(flow_consts.status_types.status_external_alert.status_id,
|
||||
info, info.severity_id)
|
||||
info, nil, nil, nil, info.severity_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue