[rrd-users] Re: combining rrd's of same 'kind'

Adam Nealis adamnealis at yahoo.co.uk
Sat Dec 14 10:09:09 MET 2002



--- Frank DiGravina <digravin at umn.edu> wrote:
> 
> I have two rrd's that were generated by mrtg; each represents some
> time period and each has looked at a comparable interface on two
> distinct machines.  More simply, I have rrd-A and rrd-B.  Rrd-A
> precedes rrd-B in time.  I simple want to add the historical data from
> A to B, which is currently active.  Is there a simple way to do this?

For safety's sake, I'd be inclined to create C.rrd with the
same RRAs and DEFs, etc. as A and B, then do

rrdtool fetch A.rrd --start <whenever> >C.data
rrdtool fetch B.rrd --start <whenever> >>C.data

and hack C.data into a form suitable to be used with
rrdtool update. Once convinced C.rrd is sane, you could then
do a last transition and either rename C.rrd as B.rdd (or
A.rrd), or switch to writing to C.rrd direct.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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