[rrd-users] Re: how to merge 2 rrd-files

Arnold Nipper arnold at nipper.de
Tue Jun 8 23:34:34 MEST 2004


On 08.06.2004 23:20 Alex van den Bogaerdt wrote:


>>Example 2:
>>Your collection server crashes and you are in a mad panic. You start up
>>collections on a separate server while you fix your server.  What do you
>>do with the data collected on the backup server when your normal
>>collection box is fixed...?
> 
> 
> Step 1: update both databases simultaniously (so that they're in sync)
> Step 2: a:  rrdtool dump database1.rrd > database1.xml
>         b:  rrdtool dump database2.rrd > database2.xml
> Step 3: copy interesting parts from both xml files into a third
> Step 4: rrdtool restore newdatabase.xml newdatabase.rrd
> 
> This is the most complex solution.  Then again, how often are you
> going to make this mistake?
> 

This is not very funny if you have to do this for 200+ files. And even
if you have to do it now and then it's really awfull.

So why do I have to do it? I'm running MRTG on cisco Catalyst C6509
(each 200+ ports) and could not yet figure out how to align the RRD
files to port names.


Arnold

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