[rrd-users] Start time with rrdtool create

Glenn MacGregor Glenn.MacGregor at sonos.com
Fri Jul 6 21:25:59 CEST 2007


Sorry for the multiple posts but I am stuck in a hole here.

I have hundreds of archived XML files which contain data that I would
like to put into rrd files. I process the files looking for the oldest
timestamp, I then create an rrd file using that time (unix time). I
start adding to this file using update, but nothing gets added. I assume
this is due to the rra/rrd not have my specified starting time. Is there
anyway to use rrd for this type of application?

Thanks

 Glenn 

-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of Glenn MacGregor
Sent: Friday, July 06, 2007 3:16 PM
To: Tobias Oetiker
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] Start time with rrdtool create

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

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



More information about the rrd-users mailing list