Fix host timeseries first point problem.

An additional point is now stored on the ts database to address the issue.

Fixes #2184
This commit is contained in:
emanuele-f 2019-05-28 17:17:21 +02:00
parent 0fcb328404
commit e74f6ee3b7
5 changed files with 38 additions and 13 deletions

View file

@ -613,7 +613,6 @@ local function _listSeries(schema, tags_filter, wildcard_tags, start_time)
local last_update = ntop.rrd_lastupdate(fpath)
if last_update ~= nil and last_update >= start_time then
-- TODO remove after migration
local value = v[1]
local toadd = false