[rrd-users] trouble with start time of RRD

Matthew F. Ringel ringel at panix.com
Wed Aug 30 15:45:45 MEST 2000


Greetings, all.

I'm trying to set up an RRD to capture 5 minute intervals for a
month's worth of traffic.  Specifically, I have the past month's data,
which I'm going to import into an RRD for further crunching.

I set up an RRD with the command:

rrdtool create big.rrd --start=965088000 --step=300 \
DS:inbytes:COUNTER:600:U:U DS:outbytes:COUNTER:600:U:U \
RRA:AVERAGE:.5:1:8640

Where 965088000 is midnight of 1 August 2000.

What perplexes me is that doing a dump of big.rrd shows the following:

[...]
   <lastupdate> 965088000 </lastupdate> <!-- 2000-08-01 00:00:00 GMT -->
[...]
   <database>
   <!-- 2000-07-02 00:05:00 GMT --> <row><v> NaN </v><v> NaN </v></row>
   <!-- 2000-07-02 00:10:00 GMT --> <row><v> NaN </v><v> NaN </v></row>
   <!-- 2000-07-02 00:15:00 GMT --> <row><v> NaN </v><v> NaN </v></row>
[...]
   <!-- 2000-08-01 00:00:00 GMT --> <row><v> NaN </v><v> NaN </v></row>
   </database>

It appears that the *end* time (and *not* the start time) for the RRD
is the date I specified with the --start option.  Am I missing
something?  I could do some date voodoo to compensate for this, but
I'd prefer not to.  I just want the first entry in the RRD to be at
least near the time I specify in the --start option.

Any help is appreciated.

							......Matthew

------------------------------------------------------------------------------
Matthew F. Ringel					      ringel at panix.com

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