mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes for host pools historical stats
This commit is contained in:
parent
17c5a4af57
commit
e5a57d93ad
6 changed files with 34 additions and 11 deletions
|
|
@ -171,7 +171,7 @@ function host_pools_utils.updateRRDs(ifid, dump_ndpi, verbose)
|
|||
-- Traffic stats
|
||||
local rrdpath = fixPath(pool_base .. "/bytes.rrd")
|
||||
createRRDcounter(rrdpath, 300, verbose)
|
||||
ntop.rrd_update(rrdpath, "N:"..tolongint(pool_stats["packets.sent"]) .. ":" .. tolongint(pool_stats["packets.recv"]))
|
||||
ntop.rrd_update(rrdpath, "N:"..tolongint(pool_stats["bytes.sent"]) .. ":" .. tolongint(pool_stats["bytes.recv"]))
|
||||
|
||||
-- nDPI stats
|
||||
if dump_ndpi then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue