mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Created timeseries for blacklisted hosts
This commit is contained in:
parent
adc00cbdc3
commit
76afff76d1
7 changed files with 43 additions and 11 deletions
|
|
@ -364,6 +364,14 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
if enable_debug then
|
||||
io.write(hostname.. "\n")
|
||||
end
|
||||
|
||||
if(host.num_blacklisted_flows ~= nil) then
|
||||
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},
|
||||
when)
|
||||
end
|
||||
|
||||
-- Contacted Hosts Behaviour
|
||||
if host["contacted_hosts_behaviour"] then
|
||||
if(host.contacted_hosts_behaviour.value > 0) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue