Re: question about creating multiple dbs in single rrd file..

Steve Shipway <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <28E447343A85354483BCF7C3E9D5EAA5149B56EB@uxcn10-1.UoA.auckland.ac.nz>
It is possible, but it's awkward, and I'd question if you really need to do it anyway.

If ALL RRD files have the same step, and same RRAs defined, then you could use rrdtool export to export them to XML, then merge the XML files using a script you wrote yourself, then finally use rrdtool to import the new XML file back and create a merged RRD file.  This would join them all together, preserving data.

Why would you need to do this, though?  If you need to make a graph over the various DSs in the five RRD files, then rrdtool already allows you to make one graph with data pulled from multiple RRD files.  This will work whether or not the RRD files have identical steps and RRAs defined.  It is also programmatically trivial to use fetch to pull data from more than one location or do the similar for the other RRDTool functions.

Finally, is this really the right group for this question?  There is an rrdtool support group available, but this is the developer group.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] [[email protected]] on behalf of josh joshua [[email protected]]
Sent: Sunday, 28 November 2010 3:39 a.m.
To: [email protected]
Subject: [rrd-developers] question about creating multiple dbs in single rrd file..

Hello,

I am comparitively new to this rrd world. I have one question. I have five rrd files from different servers. So my question is can I create single rrd file from these five rrd files..If yes how to do it?

thanks,
JJ

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.