mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
aa75e6777c
commit
52a396ec88
4 changed files with 24 additions and 1 deletions
|
|
@ -60,6 +60,11 @@ function ts_dump.asn_update_rrds(when, ifstats, verbose)
|
|||
ts_utils.append("asn:traffic", {ifid=ifstats.id, asn=asn,
|
||||
bytes_sent=asn_stats["bytes.sent"], bytes_rcvd=asn_stats["bytes.rcvd"]}, when)
|
||||
|
||||
ts_utils.append("asn:traffic_sent", {ifid=ifstats.id, asn=asn,
|
||||
bytes=asn_stats["bytes.sent"]}, when)
|
||||
|
||||
ts_utils.append("asn:traffic_rcvd", {ifid=ifstats.id, asn=asn,
|
||||
bytes=asn_stats["bytes.rcvd"]}, when)
|
||||
-- Save ASN ndpi stats
|
||||
if asn_stats["ndpi"] ~= nil then
|
||||
for proto_name, proto_stats in pairs(asn_stats["ndpi"]) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue