[rrd-users] Re: populate RRD with old data

Vargas, Miguel mvargas at tnsi.com
Wed Jan 15 19:57:07 MET 2003


Sorry, I forgot to mention that the data in my other database is also
consolidated.  So I only have 30min averages for a week ago, 2 hour averages
for a month ago, and daily averages for a year ago.  In other words, the
data I have is in the same format that RRD will store it.

If I do 
rrdtool update name.rrd <a year ago>:<value1>:<value2>
value1 and value 2 are daily averages not 15 min averages.

Will this work?  If not, how could I do it?  Do I have to edit the XML
dumps?

-----Original Message-----
From: Dulac, Daniel (Dan) [mailto:ddulac at aprisma.com]
Sent: Wednesday, January 15, 2003 1:40 PM
To: Vargas, Miguel; 'rrd-users at list.ee.ethz.ch'
Subject: RE: [rrd-users] populate RRD with old data


It will properly update each RRA as long as each update time-stamp is close
to your 'step' interval--in your case, 900 seconds.

-----Original Message-----
From: Vargas, Miguel [mailto:mvargas at tnsi.com] 
Sent: Wednesday, January 15, 2003 1:40 PM
To: 'rrd-users at list.ee.ethz.ch'
Subject: [rrd-users] populate RRD with old data


I have a database with two years of 15min router interface utilization data.
I would like to get this data into RRD so I can graph it MRTG style, i.e.
daily, weekly, monthly, yearly.  

I created RRAs like this:
rrdtool create $ifname.rrd --start 1009861200 --step 900 
DS:In:GAUGE:3600:U:U 
DS:Out:GAUGE:3600:U:U 
RRA:AVERAGE:0.5:1:128 
RRA:AVERAGE:0.5:2:432 
RRA:AVERAGE:0.5:8:420 
RRA:AVERAGE:0.5:96:390 
RRA:MAX:0.5:1:128 
RRA:MAX:0.5:2:432 
RRA:MAX:0.5:8:420 
RRA:MAX:0.5:96:390

My question is, how do I populate my RRAs with the old data?  If I do a
rrdtool update with a time stamp from a year ago, will it go into the
correct RRA?

TIA
This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information of Transaction Network
Services.  Any unauthorized review, use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

--
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
This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information of Transaction Network
Services.  Any unauthorized review, use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

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