mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
modules/graph_utils.lua: fix variable name
This commit fixes the name of one of the variables used in the createRRDcounter() function which caused errors.
This commit is contained in:
parent
1d604d1902
commit
6ac384581d
1 changed files with 3 additions and 3 deletions
|
|
@ -878,11 +878,11 @@ function makeRRD(basedir, ifname, rrdname, step, value)
|
|||
end
|
||||
|
||||
function createRRDcounter(path, step, verbose)
|
||||
if(not(ntop.exists(name))) then
|
||||
if(verbose) then print('Creating RRD ', name, '\n') end
|
||||
if(not(ntop.exists(path))) then
|
||||
if(verbose) then print('Creating RRD ', path, '\n') end
|
||||
local prefs = ntop.getPrefs()
|
||||
ntop.rrd_create(
|
||||
name,
|
||||
path,
|
||||
step, -- step
|
||||
'DS:sent:DERIVE:600:U:U',
|
||||
'DS:rcvd:DERIVE:600:U:U',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue