mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes blacklisted flows rrd timeserie
This commit is contained in:
parent
3cb65f4b49
commit
938106a4c0
2 changed files with 8 additions and 3 deletions
|
|
@ -366,9 +366,10 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
end
|
||||
|
||||
if(host.num_blacklisted_flows ~= nil) then
|
||||
-- Note: tot_as_* are never resetted, instead the other counters can be resetted
|
||||
ts_utils.append("host:num_blacklisted_flows", {ifid=ifstats.id, host=hostname,
|
||||
flows_as_client = host.num_blacklisted_flows.as_client,
|
||||
flows_as_server = host.num_blacklisted_flows.as_server},
|
||||
flows_as_client = host.num_blacklisted_flows.tot_as_client,
|
||||
flows_as_server = host.num_blacklisted_flows.tot_as_server},
|
||||
when)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue