[rrd-users] Re: rrdupdate with UNKNOWN and 0 value

Salvatore D. Tepedino rrdtool at tepedino.org
Thu Jul 28 08:03:36 MEST 2005

On Wed, 2005-07-27 at 09:17 +0200, ralf-buero at kruedewagen.de wrote:
> Hi Tobias,
> here is an example. When updating the database with absolute 
> timestamps (sample 1), everything is okay.
> But the sample 2 is using N as timestamp for updates. Here you see, 
> that only 0 values are stored to database.

My experiments confirmed this as well. Using specific timestamps,
everything worked fine, but using N caused the NaN values to be stored
as 0.

Here you can compare the same data being entered into the RRDs (the same
exact script is used). One rrd was made with 1.0, the other with 1.2.
Both rrds are updated using 1.2.

The 1.0 rrd: http://tepedino.org/rrd/weather-clt.php

The 1.2 rrd: http://tepedino.org/rrd/test/weather-clt.php

Same update scripts, same graphing scripts, same create scripts, except
I changed which version created the rrd in each case.

If you want, I can provide the scripts used, but I think Ralf's script
was a simpler proof of concept.

Salvatore D. Tepedino <rrdtool at tepedino.org>

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list