mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implement active host contacts metrics
This commit is contained in:
parent
c34854d9b6
commit
c87a02d012
9 changed files with 79 additions and 17 deletions
|
|
@ -171,6 +171,10 @@ function rrd_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
ts_utils.append("host:flows", {ifid=ifstats.id, host=hostname,
|
||||
num_flows=host["active_flows.as_client"] + host["active_flows.as_server"]}, when, verbose)
|
||||
|
||||
-- Contacts
|
||||
ts_utils.append("host:contacts", {ifid=ifstats.id, host=hostname,
|
||||
as_client=host["contacts.as_client"], as_server=host["contacts.as_server"]}, when, verbose)
|
||||
|
||||
-- L4 Protocols
|
||||
for id, _ in ipairs(l4_keys) do
|
||||
k = l4_keys[id][2]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue