mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add UDP unicast vs non unicast breakdown
This commit is contained in:
parent
bbb81ceddd
commit
461ee43e16
13 changed files with 68 additions and 8 deletions
|
|
@ -308,6 +308,11 @@ function ts_dump.host_update_stats_rrds(when, hostname, host, ifstats, verbose)
|
|||
end
|
||||
end
|
||||
|
||||
-- UDP breakdown
|
||||
ts_utils.append("host:udp_sent_unicast", {ifid=ifstats.id, host=hostname,
|
||||
bytes_sent_unicast=host["udpBytesSent.unicast"],
|
||||
bytes_sent_non_unicast=host["udpBytesSent.non_unicast"]}, when, verbose)
|
||||
|
||||
-- create custom rrds
|
||||
if ts_custom and ts_custom.host_update_stats then
|
||||
ts_custom.host_update_stats(when, hostname, host, ifstats, verbose)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue