If you're using DEFs like this:<div><br></div><div><div>      [la]</div><div>           TITLE CPU Load</div><div>           YAXIS Load</div><div>           DEF:avg=la.rrd:la:AVERAGE</div><div>           CDEF:la=avg,100,/</div>
<div><br></div>you can definitely use a pathname for the RRD.  I do exactly that with some performance graphs where I can't use xymon:</div><div><br></div><div>     DEF:server1avg=/var/lib/perfmon/server1/loadavg.rrd</div>
<div>     DEF:server2avg=/var/lib/perfmon/server2/loadavg.rrd</div><div><br></div><div>I don't know if the same is true of the FNPATTERN style of setting DEFs.</div><div><br></div><div>Of course, if your RRD are on different physical machines, that's a bit harder...  :)</div>
<div><br></div><div>Ralph Mitchell</div><div><br></div><div><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 7:34 AM, SEGLARD, Thomas <span dir="ltr"><<a href="mailto:tseglard@tf1.fr">tseglard@tf1.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="FR" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hello,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">yes, you’re right. </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">But, my mistake, this is only part of answer and I don’t
exactly write what I wanted to know. What I want is a way to sum the RRDs from different
servers and corresponding to the graph definition « ifstat ». The main problem
is that the RRDs are not in the same place/directory and thus I have no way to
tell rrdtool where to get these RRDs. This is the main problem and why I required
some help </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I could do some scrtipt which sync on a regular basis these RRDs
into one server directory. It’s not very elegant (but I think this will
work !). In a future release, maybe it will be possible to use the Metrics
reports to do all the maths we want with different RRDs ? ;) </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Nobody uses Xymon to graph the sum of network bandwidth from
different sources (firewall, lb, media servers, web servers, etc…) into
one graph ??</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Sincerly,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thomas</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt">De :</span></b><span style="font-size:10.0pt"> Ralph Mitchell
[mailto:<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>] <br>
<b>Envoyé :</b> vendredi 27 août 2010 13:04</span></p><div class="im"><br>
<b>À :</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Objet :</b> Re: [xymon] Possible to sum rrd into one graph ?</div><p></p>

</div><div class="im">

<p class="MsoNormal"> </p>

<p class="MsoNormal">Take a look at the man page for rrdgraph_data.  That
describes how to use CDEF:</p>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<div>

<p class="MsoNormal">     CDEF</p>

</div>

<div>

<p class="MsoNormal">         CDEF:vname=RPN expression</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">         This command creates a new
set of data points (in memory only, not in</p>

</div>

<div>

<p class="MsoNormal">         the RRD file) out of one
or more other data series.</p>

</div>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">After using DEF to define the variables being pulled from
the various RRDs, you should be able to combine them with a math expression.
 You would then use the CDEF vname in the graph LINE, AREA, etc.</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt">Ralph Mitchell</p>

<div>

<p class="MsoNormal">On Fri, Aug 27, 2010 at 3:56 AM, SEGLARD, Thomas <<a href="mailto:tseglard@tf1.fr" target="_blank">tseglard@tf1.fr</a>> wrote:</p>

<div>

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Josh,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">First, thank you for this link. Second,
I’m sorry but I don’t understand very well your example. I
don’t want to graph multiple RRD sources, I want to graph the sum of
multiple RRD sources </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;color:#1F497D">
Do you think Xymon could make it ?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for help.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thomas</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span style="font-size:10.0pt">De :</span></b><span style="font-size:10.0pt">
Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b>Envoyé :</b> jeudi 26 août 2010 17:20</span></p>

<div>

<p class="MsoNormal"><br>
<b>À :</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Objet :</b> Re: [xymon] Possible to sum rrd into one graph ?</p>

</div>

</div>

<p class="MsoNormal"> </p>

<p><a href="https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources" target="_blank">https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources</a></p>

<div>

<div>

<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">

<p class="MsoNormal" style="margin-bottom:12.0pt">On Aug
26, 2010 8:04 AM, "SEGLARD, Thomas" <<a href="mailto:tseglard@tf1.fr" target="_blank">tseglard@tf1.fr</a>> wrote:</p>

<div>

<div>

<p class="MsoNormal">Hello,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">In
Munin, its possible to sum several rrd into one graph (ie : to display the
total bandwidth used by all your media servers). Thus, I’m asking if
it’s possible to do this in XYmon too ? I saw the « Metrics
reports » but you can’t sum graphs…</p>

<p class="MsoNormal">Regards,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="color:#888888">Thomas SEGLARD</span></p>

</div>

</div>

</blockquote>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"> </p></div></div></div></div></blockquote></div></div>