mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
e7cebdcd98
commit
7e2ac7fbaa
7 changed files with 22 additions and 1 deletions
|
|
@ -169,7 +169,13 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
|
||||
-- Number of flows
|
||||
ts_utils.append("host:flows", {ifid=ifstats.id, host=hostname,
|
||||
num_flows=host["active_flows.as_client"] + host["active_flows.as_server"]}, when, verbose)
|
||||
num_flows=host["active_flows.as_client"] + host["active_flows.as_server"]}, when, verbose)
|
||||
|
||||
-- Number of anomalous flows
|
||||
ts_utils.append("host:anomalous_flows", {ifid = ifstats.id, host = hostname,
|
||||
flows_as_client = host["anomalous_flows.as_client"],
|
||||
flows_as_server = host["anomalous_flows.as_server"]},
|
||||
when, verbose)
|
||||
|
||||
-- Contacts
|
||||
ts_utils.append("host:contacts", {ifid=ifstats.id, host=hostname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue