[rrd-developers] Re: Need Help

Matt Zimmerman mdz at debian.org
Mon Sep 30 23:56:51 MEST 2002


On Mon, Sep 30, 2002 at 02:12:20AM +0000, Gillma Gillma wrote:

>    Once i have create the table and i have written a perl script to store 
> some raw values into the tables and i am storing the raw values in a log 
> file too.
> 
>   But when i compare both the values i find a big difference.
> RRD value in rrd table
> 1033377300: 2.0000000000e+00 5.2170000000e+05 1.3668790000e+06
> 1033378200: 4.0222222222e-01 2.7845031667e+05 9.8603268889e+05
> 1033379100: 8.0000000000e-01 2.3667020000e+05 6.5873580000e+05
> 1033380000: 1.0000000000e+00 2.4153400000e+05 6.0088000000e+05
> 1033380900: 0.0000000000e+00 2.8770200000e+05 6.1350200000e+05
> 1033381800: 0.0000000000e+00 1.9069931333e+05 5.4300884333e+05
> 1033382700: 0.0000000000e+00 1.5270048667e+05 5.2106883333e+05
> 1033383600: 0.0000000000e+00 1.5303560000e+05 5.4779140000e+05
> [...]
> and my cron job runs on 3,18,33,48 * * * * interval.
> 
> I can't understand whether the values are wrong or its that's the way rrd 
> store the values.
> 
> for past 1 week i am working on this issue.

The RRD values that you show correspond to timeslots :15, :30, :45, :00,
etc.  rrdtool always stores data at these points, regardless of when it was
collected.  So your data that is coming in at :03, :18, :33, :48 is being
interpolated to fit the expected timeslots.

-- 
 - mdz

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



More information about the rrd-developers mailing list