[rrd-users] rrd starting at a certain date

Simon Hobson linux at thehobsons.co.uk
Tue Apr 13 10:20:23 CEST 2010


Stefan M. Brandl wrote:
>Hi there,
>I want to create a rrd-database starting at Friday Feb. 26 2010 and have
>a step of one week.
>If I do
>
>rrdtool create test.rrd --start 1267056000 --step 604800 
>DS:test:GAUGE:604800:0:U RRA:AVERAGE:0.5:1:100
>
>the resulting rrd starts at Thursday Feb. 25.
>Regardless how I set the start-date, it is always set to Thursday.
>What am I doing wrong here?

Timezone ?

Your email says +2 (European summer time ?), so midnight by your 
clock is 22:00 UTC. RRCTool only uses UTC.

In any case, the start time in an RRD file is largely irrelevant. 
Once you've done a single update, then that will set the minimum time 
for a future update, and the start time of each consolidated data set 
will be determined by the step time, number of PDPs per CDP, and the 
number of CDPs to keep.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the rrd-users mailing list