mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added TCP packets time series (#2516)
This commit is contained in:
parent
dd24d2a932
commit
f27f137c09
4 changed files with 17 additions and 1 deletions
|
|
@ -226,6 +226,12 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
out_of_order_packets = host["tcp.packets.out_of_order"],
|
||||
lost_packets = host["tcp.packets.lost"]},
|
||||
when, verbose)
|
||||
|
||||
-- Number of TCP packets
|
||||
ts_utils.append("host:tcp_packets", {ifid = ifstats.id, host = hostname,
|
||||
packets_sent = host["tcp.packets.sent"],
|
||||
packets_rcvd = host["tcp.packets.rcvd"]},
|
||||
when, verbose)
|
||||
|
||||
-- Total number of alerts
|
||||
ts_utils.append("host:total_alerts", {ifid = ifstats.id, host = hostname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue