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

Tobias Oetiker oetiker at ee.ethz.ch
Tue Aug 2 19:23:04 MEST 2005


Hi Folks,
I have fixed that N: problem ... the reason was, that the handling
of subsecond time resolution was interfearing with the handling of
unknown data ...

the patch is attached

tobi
Thursday Salvatore D. Tepedino wrote:

> 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://peopleareidiots.com/rrd/weather-clt.php
>
> The 1.2 rrd: http://peopleareidiots.com/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.
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

-- Attached file removed by Ecartis and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 3k (3673 bytes)
-- URL : http://lists.ee.ethz.ch/p/04-patch


--
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