mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes wrong RRD heartbeat
This commit is contained in:
parent
60b5e6c1db
commit
83d09b89b2
1 changed files with 3 additions and 3 deletions
|
|
@ -935,7 +935,7 @@ function createRRDcounter(path, step, verbose)
|
|||
if(not(ntop.exists(path))) then
|
||||
if(verbose) then print('Creating RRD ', path, '\n') end
|
||||
local prefs = ntop.getPrefs()
|
||||
local hb = step * 2 -- Default hb = 2 minutes
|
||||
local hb = step * 5 -- keep it aligned with rrd_utils.makeRRD
|
||||
ntop.rrd_create(
|
||||
path,
|
||||
step, -- step
|
||||
|
|
@ -955,7 +955,7 @@ function createSingleRRDcounter(path, step, verbose)
|
|||
if(not(ntop.exists(path))) then
|
||||
if(verbose) then print('Creating RRD ', path, '\n') end
|
||||
local prefs = ntop.getPrefs()
|
||||
local hb = step * 2 -- Default hb = 2 minutes
|
||||
local hb = step * 5 -- keep it aligned with rrd_utils.makeRRD
|
||||
ntop.rrd_create(
|
||||
path,
|
||||
step, -- step
|
||||
|
|
@ -974,7 +974,7 @@ function createTripleRRDcounter(path, step, verbose)
|
|||
if(not(ntop.exists(path))) then
|
||||
if(verbose) then io.write('Creating RRD '..path..'\n') end
|
||||
local prefs = ntop.getPrefs()
|
||||
local hb = step * 2 -- Default hb = 2 minutes
|
||||
local hb = step * 5 -- keep it aligned with rrd_utils.makeRRD
|
||||
ntop.rrd_create(
|
||||
path,
|
||||
step, -- step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue