mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Adds dropped flows column in nedge users page
This commit is contained in:
parent
403e2316f2
commit
15794cb49f
1 changed files with 1 additions and 0 deletions
|
|
@ -545,6 +545,7 @@ function host_pools_utils.hostpool2record(ifid, pool_id, pool)
|
|||
|
||||
record["column_hosts"] = pool["num_hosts"]..""
|
||||
record["column_since"] = secondsToTime(os.time() - pool["seen.first"] + 1)
|
||||
record["column_num_dropped_flows"] = (pool["flows.dropped"] or 0)..""
|
||||
|
||||
local sent2rcvd = round((pool["bytes.sent"] * 100) / (pool["bytes.sent"] + pool["bytes.rcvd"]), 0)
|
||||
record["column_breakdown"] = "<div class='progress'><div class='progress-bar progress-bar-warning' style='width: "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue