mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
22b4d1d7bc
commit
e22d13533a
9 changed files with 123 additions and 107 deletions
|
|
@ -251,13 +251,13 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
packets_sent = host["udp.packets.sent"],
|
||||
packets_rcvd = host["udp.packets.rcvd"]},
|
||||
when, verbose)
|
||||
|
||||
|
||||
-- Tcp Stats
|
||||
ts_utils.append("host:tcp_stats", {ifid = ifstats.id, host = hostname,
|
||||
retransmission_packets = host["tcp.packets.retransmissions"],
|
||||
out_of_order_packets = host["tcp.packets.out_of_order"],
|
||||
lost_packets = host["tcp.packets.lost"]},
|
||||
when, verbose)
|
||||
retransmission_packets = host["tcpPacketStats.sent"]["retransmissions"] + host["tcpPacketStats.rcvd"]["retransmissions"],
|
||||
out_of_order_packets = host["tcpPacketStats.sent"]["out_of_order"] + host["tcpPacketStats.rcvd"]["out_of_order"],
|
||||
lost_packets = host["tcpPacketStats.sent"]["lost"] + host["tcpPacketStats.rcvd"]["lost"]},
|
||||
when, verbose)
|
||||
|
||||
-- Number of TCP packets
|
||||
ts_utils.append("host:tcp_packets", {ifid = ifstats.id, host = hostname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue