<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
.hmmessage p
        {margin:0px;
        padding:0px}
body.hmmessage
        {font-size:10pt;
        font-family:Tahoma}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" class="hmmessage">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style="">It is possible, but it's awkward, and I'd question if you really need to do it anyway.<br>
<br>
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. <br>
<br>
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.<br>
<br>
Finally, is this really the right group for this question? There is an rrdtool support group available, but this is the developer group.<br>
<br>
Steve<br>
</div>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;"><strong>Steve Shipway</strong></div>
<div style="font-family: Tahoma; font-size: 13px;">University of Auckland ITS</div>
<div style="font-family: Tahoma; font-size: 13px;"><em>UNIX Systems Design Lead</em></div>
<div style="font-family: Tahoma; font-size: 13px;"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family: Tahoma; font-size: 13px;">Ph: +64 9 373 7599 ext 86487</div>
<div style="font-family: Tahoma; font-size: 13px;"><em></em> </div>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF827016"><font size="2" color="#000000" face="Tahoma"><b>From:</b> rrd-developers-bounces+steve=steveshipway.org@lists.oetiker.ch [rrd-developers-bounces+steve=steveshipway.org@lists.oetiker.ch] on behalf of josh joshua
[joshjoshua81@hotmail.com]<br>
<b>Sent:</b> Sunday, 28 November 2010 3:39 a.m.<br>
<b>To:</b> rrd-developers@lists.oetiker.ch<br>
<b>Subject:</b> [rrd-developers] question about creating multiple dbs in single rrd file..<br>
</font><br>
</div>
<div></div>
<div>Hello,<br>
<br>
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?<br>
<br>
thanks,<br>
JJ<br>
<br>
<br>
</div>
</div>
</div>
<script type="text/javascript"><!--
function __RP_Callback_Helper(str, strCallbackEvent, splitSize, func){var event = null;if (strCallbackEvent){event = document.createEvent('Events');event.initEvent(strCallbackEvent, true, true);}if (str && str.length > 0){var splitList = str.split('|');var strCompare = str;if (splitList.length == splitSize)strCompare = splitList[splitSize-1];var pluginList = document.plugins;for (var count = 0; count < pluginList.length; count++){var sSrc = '';if (pluginList[count] && pluginList[count].src)sSrc = pluginList[count].src;if (strCompare.length >= sSrc.length){if (strCompare.indexOf(sSrc) != -1){func(str, count, pluginList, splitList);break;}}}}if (strCallbackEvent)document.body.dispatchEvent(event);}function __RP_Coord_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Coord_Callback = str;pluginList[index].__RP_Coord_Callback_Left = splitList[0];pluginList[index].__RP_Coord_Callback_Top = splitList[1];pluginList[index].__RP_Coord_Callback_Right = splitList[2];pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];};__RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);}function __RP_Url_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Url_Callback = str;pluginList[index].__RP_Url_Callback_Vid = splitList[0];pluginList[index].__RP_Url_Callback_Parent = splitList[1];};__RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);}function __RP_TotalBytes_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_TotalBytes_Callback = str;pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}function __RP_Connection_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Connection_Callback = str;pluginList[index].__RP_Connection_Callback_Url = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}
//--></script>
</body>
</html>