mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Stores local network traffic statistics on a minute basis
Local network traffic statistics are stored in RRDS on a minute basis. Network traffic statistics are per interface. If an interface has never seen a network, then no RRD is created.
This commit is contained in:
parent
c377d0327b
commit
09ac01a1ee
4 changed files with 26 additions and 21 deletions
|
|
@ -769,7 +769,7 @@ function create_rrd_num(name, ds)
|
|||
end
|
||||
|
||||
function makeRRD(basedir, ifname, rrdname, step, value)
|
||||
name = fixPath(basedir .. "/" .. rrdname .. ".rrd")
|
||||
local name = fixPath(basedir .. "/" .. rrdname .. ".rrd")
|
||||
|
||||
if(string.contains(rrdname, "num_")) then
|
||||
create_rrd_num(name, rrdname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue