[rrd-users] Not understanding the 'create' function....

David Ball davidtball at gmail.com
Fri Apr 20 07:39:44 CEST 2007


  I feel a bit sheepish asking, but this just doesn't make sense to
me.  I create a test RRD as follows:

# /usr/local/rrdtool-1.2.19/bin/rrdtool create ../tmp/testRRD3.rrd
--start 1167609600 --step 300 DS:bps:COUNTER:600:0:150000000
RRA:MAX:0.5:1:10000

But when I do a dump of it, the first timestamp in the RRD is no where
NEAR what I specified in my 'create' statement.  In fact, the LAST
timeslot in my database is the timestamp I mentioned for the START of
the RRD....

# /usr/local/rrdtool-1.2.19/bin/rrdtool dump ../tmp/testRRD3.rrd | less
<snip>
<!-- 2006-11-26 23:45:00 MST / 1164609900 --> <row><v> NaN </v></row>

  I thought I was doing pretty well, but this.....I just don't get.  I
suppose I could just add a month worth of seconds to my --start value
to push it forward a month, but that just doesn't seem right.  Ayuda ?

David



More information about the rrd-users mailing list