mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implemented timeseries for number of unidirectional TCP flows
Enhanced error codes in GUI
This commit is contained in:
parent
16e842311d
commit
d541c8859c
7 changed files with 26 additions and 8 deletions
|
|
@ -506,6 +506,15 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
flows_as_client = host["host_unreachable_flows.as_client"]},
|
||||
when)
|
||||
|
||||
-- Number of host TCP unidirectional flows
|
||||
if(host.num_unidirectional_tcp_flows ~= nil) then
|
||||
ts_utils.append("host:host_tcp_unidirectional_flows",
|
||||
{ifid = ifstats.id, host = hostname,
|
||||
flows_as_server = host.num_unidirectional_tcp_flows.num_ingress,
|
||||
flows_as_client = host.num_unidirectional_tcp_flows.num_egress},
|
||||
when)
|
||||
end
|
||||
|
||||
-- Number of dns packets sent
|
||||
ts_utils.append("host:dns_qry_sent_rsp_rcvd", {ifid = ifstats.id, host = hostname,
|
||||
queries_pkts = host["dns"]["sent"]["num_queries"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue