On Thu, May 04, 2006 at 05:31:42AM -0700, Amir Baninajar wrote: > The problem is that when I actually look at the data stored in the first RRA, > all have values in decimal place (eg 1.6366666667e+00 etc). I know that > RRDtool stores figures in floating point format, > but shouldn't it have all zeros after decimal place instead of other values? > The first RRA averages data everytime it reads, which means that there is > nothing to average and it should store the integer as it is. > > here are the create and update statements > > create "TestRRD.rrd" --start 1146744377 --step 600 > DS:PolImgTo:GAUGE:1200:U:U > DS:ITNImgTo:GAUGE:1200:U:U > DS:MFImgTo:GAUGE:1200:U:U > (there some more similar DS statements here) > RRA:AVERAGE:0.5:1:144 > RRA:AVERAGE:0.5:6:720 > RRA:AVERAGE:0.5:144:365 > > update "TestRRD.rrd" 1146744651:1:3:0:(some more similar values here)
1146744651 modulo 600 is not 0. That is the "problem" (actually: a feature). See the tutorials, the documentation, the detailed explanation on my site. -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
