mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added ARP requests time series (#2496)
This commit is contained in:
parent
5ec5a8e9c8
commit
a121b6a4f8
3 changed files with 14 additions and 0 deletions
|
|
@ -28,6 +28,11 @@ end
|
|||
function ts_dump.l2_device_update_stats_rrds(when, devicename, device, ifstats, verbose)
|
||||
ts_utils.append("mac:traffic", {ifid=ifstats.id, mac=devicename,
|
||||
bytes_sent=device["bytes.sent"], bytes_rcvd=device["bytes.rcvd"]}, when, verbose)
|
||||
|
||||
ts_utils.append("mac:arp_requests", {ifid=ifstats.id, mac=devicename,
|
||||
request_packets_sent = device["arp_requests.sent"],
|
||||
request_packets_rcvd = device["arp_requests.rcvd"]},
|
||||
when,verbose)
|
||||
end
|
||||
|
||||
-- ########################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue