mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes traffic behavior total not working
This commit is contained in:
parent
2c70d0c3f1
commit
05226b3bb9
7 changed files with 19 additions and 83 deletions
|
|
@ -265,14 +265,14 @@ function ts_dump.iface_update_general_stats(when, ifstats, verbose)
|
|||
}, when)
|
||||
|
||||
-- Traffic Behaviour
|
||||
ts_utils.append("iface:traffic_rx_behavior_v4", {
|
||||
ts_utils.append("iface:traffic_rx_behavior_v5", {
|
||||
ifid = ifstats.id,
|
||||
value = ifstats["traffic_rx_behavior"]["value"],
|
||||
lower_bound = ifstats["traffic_rx_behavior"]["lower_bound"],
|
||||
upper_bound = ifstats["traffic_rx_behavior"]["upper_bound"]
|
||||
}, when)
|
||||
|
||||
ts_utils.append("iface:traffic_tx_behavior_v4", {
|
||||
ts_utils.append("iface:traffic_tx_behavior_v5", {
|
||||
ifid = ifstats.id,
|
||||
value = ifstats["traffic_tx_behavior"]["value"],
|
||||
lower_bound = ifstats["traffic_tx_behavior"]["lower_bound"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue