[rrd-users] merge/combine RRD database files

Steve Shipway s.shipway at auckland.ac.nz
Fri Dec 9 09:14:20 CET 2011


If you mean that you want to user data from the old.rrd up to a certain time and from new.rrd from that time on, then you could
1. Export both files to XML using rrdexport,
2. write a script (perl?) to create a new XML file from the two exported ones,
3. Import the new rrd file to make a new combined rrd file.

Of course, this assumes you have scripting skill necessary to perform the XML merge.  The RRD export XML is a firly simple format, though, so it shouldnt be too hard.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487




More information about the rrd-users mailing list