[rrd-users] Start time with rrdtool create

Glenn MacGregor Glenn.MacGregor at sonos.com
Fri Jul 6 21:16:03 CEST 2007


Let me add to my last post.

rrdtool create test.rrd --step 300 --start 1182758400
DS:sr:GAUGE:600:U:U RRA:AVERAGE:0.5:1:1200
 
rrdtool dump test.rrd > test.xml

You will notice the last entry in the only rra is the start time. This
is not what I would expect.

Thanks

 Glenn

-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch] 
Sent: Friday, July 06, 2007 11:22 AM
To: Glenn MacGregor
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Start time with rrdtool create

Gelnn,

use rrdtool info or rrdtool dump to see what is in the rrd file ...
rrdxport is for reports ...

cheers
tobi

Today Glenn MacGregor wrote:

> Hi All,
>
> I am using rrdtool 1.2.23 trying to create a rrd file starting 1 month

> ago.
>
> rrdtool create test.rrd --step 300 --start 1180670400 
> DS:param:GAUGE:600:U:U RRA:AVERAGE:0.5:1:1200 RRA:AVERAGE:0.5:6:336
> RRA:AVERAGE:0.5:24:372 RRA:AVERAGE:0.5:144:730
>
> output from rrdtool xport:
> <start>1183646700</start>
> <step>300</step>
> <end>1183733100</end>
>
> As you can see the start time is quite a bit different than the start 
> time I input. Is there a reason for this discrepancy?
>
> Thanks
>
>  Glenn
>
>
>
>

--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-users mailing list