[rrd-users] Re: rrd step > 1h ==> strange start times of RRAs

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Feb 4 16:03:17 MET 2004


On Wed, Feb 04, 2004 at 03:53:33PM +0100, Thorsten Volkmer-Wolf wrote:

> >rrdtool create test.rrd \
> >    -b  1075878000 --step 7200 \
> >    DS:var1:GAUGE:86400:U:U RRA:MAX:0.5:1:5 \
> >    DS:var2:GAUGE:86400:U:U RRA:MAX:0.5:1:5


> ------------------snip----------------------------
> <!-- 2004-02-03 23:00:00 CET / 1075845600 --> <row><v> NaN </v><v> NaN </v></row>
> <!-- 2004-02-04 01:00:00 CET / 1075852800 --> <row><v> NaN </v><v> NaN </v></row>
> <!-- 2004-02-04 03:00:00 CET / 1075860000 --> <row><v> NaN </v><v> NaN </v></row>
> <!-- 2004-02-04 05:00:00 CET / 1075867200 --> <row><v> NaN </v><v> NaN </v></row>
> <!-- 2004-02-04 07:00:00 CET / 1075874400 --> <row><v> NaN </v><v> NaN </v></row>
> </database>
> ------------------snap----------------------------

ALL times in RRDtool are a multiple of the step size.
If step equals 7200, time (including the start) MUST be n*7200.  RRDtool
will automatically correct a mistake you make.

1075878000 % 7200 != 0
1075874400 % 7200 == 0

HTH
Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list