mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix old graphs data update
This commit is contained in:
parent
deaca66fea
commit
12c622b96a
1 changed files with 3 additions and 3 deletions
|
|
@ -1078,11 +1078,11 @@ function touchRRD(rrdname)
|
|||
local tdiff = now - 1800 -- This avoids to set the update continuously
|
||||
|
||||
if(ds_count == 1) then
|
||||
ntop.rrd_update(rrdname, tdiff.."", 0)
|
||||
ntop.rrd_update(rrdname, tdiff.."", "0")
|
||||
elseif(ds_count == 2) then
|
||||
ntop.rrd_update(rrdname, tdiff.."", 0, 0)
|
||||
ntop.rrd_update(rrdname, tdiff.."", "0", "0")
|
||||
elseif(ds_count == 3) then
|
||||
ntop.rrd_update(rrdname, tdiff.."", 0, 0, 0)
|
||||
ntop.rrd_update(rrdname, tdiff.."", "0", "0", "0")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue