<div dir="ltr"><div><div><div><div>Hi Vladimir,<br><br></div> thanks. That is also an option. What I came up with is the following RRD magic. Combines 3 metrics metrics from 4 filesystems, removes the NaNs and computes the percentage used accurately:<br>
<br>rrdtool xport --start now-366d --end now-1d \<br> DEF:t000=vault_000_total.rrd:sum:AVERAGE \<br> DEF:t001=vault_001_total.rrd:sum:AVERAGE \<br> DEF:t002=vault_002_total.rrd:sum:AVERAGE \<br> DEF:t003=vault_003_total.rrd:sum:AVERAGE \<br>
CDEF:total=t000,t001,ADDNAN,t002,ADDNAN,t003,ADDNAN,1.09951E+12,/ \<br> DEF:u000=vault_000_used.rrd:sum:AVERAGE \<br> DEF:u001=vault_001_used.rrd:sum:AVERAGE \<br> DEF:u002=vault_002_used.rrd:sum:AVERAGE \<br> DEF:u003=vault_003_used.rrd:sum:AVERAGE \<br>
CDEF:used=u000,u001,ADDNAN,u002,ADDNAN,u003,ADDNAN,1.09951E+12,/ \<br> DEF:a000=vault_000_avail.rrd:sum:AVERAGE \<br> DEF:a001=vault_001_avail.rrd:sum:AVERAGE \<br> DEF:a002=vault_002_avail.rrd:sum:AVERAGE \<br> DEF:a003=vault_003_avail.rrd:sum:AVERAGE \<br>
CDEF:avail=a000,a001,ADDNAN,a002,ADDNAN,a003,ADDNAN,1.09951E+12,/ \<br> CDEF:pctc=total,avail,-,total,/ \<br> XPORT:total:"Total (TB)" XPORT:used:"Used (TB)" XPORT:avail:"Avail (TB)" XPORT:pctc:"PCT used (%)"<br>
<br></div>RRDTOOL is cool :-)<br><br></div>Cheers<br></div>Martin<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 3:26 PM, Vladimir Vuksan <span dir="ltr"><<a href="mailto:vlists@veus.hr" target="_blank">vlists@veus.hr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Another alternative is to use CSV or JSON export from the Web Ui eg<br>
<br>
<a href="http://blog.vuksan.com/2012/04/06" target="_blank">http://blog.vuksan.com/2012/04/06</a>/<br>
<br>
It will eg export all values from aggregate graphs as well so you can do the summing<div><div class="h5"><br><br><div class="gmail_quote">On 31. siječnja 2014. 09:19:30 EST, Martin Knoblauch <<a href="mailto:knobi@knobisoft.de" target="_blank">knobi@knobisoft.de</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div><div>Hi Arnau,<br><br></div> not completely :-) I actually want to extract the data from the RRD files and combine them into one, adding up the vaules. Good thing, I found out about "rrdtool xport". I does what I want on the extracting. Now I just need to do the summing up.<br>
<br></div>Cheers<br></div>Martin<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 11:21 AM, Arnau Bria <span dir="ltr"><<a href="mailto:listsarnau@gmail.com" target="_blank">listsarnau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 31 Jan 2014 10:37:19 +0100<br>
Martin Knoblauch wrote:<br>
<br>
> Hi friends,<br>
Hi,<br>
<div><br>
> hope somebody already had this problem and solved it. So I have a<br>
> cluster were we monitor the status (size, used, free) for several<br>
> filesystems using Ganglia. Looks all great in the browser, but now<br>
> the customer wants to have those data sets combined into one. In<br>
> order to not loose the data we have, I want to combine those into one<br>
> RRD. All the "source" RRDs have identical structure (RRAs) and<br>
> timestamps.<br>
<br>
> Any solution? Ideas?<br>
<br>
</div>If I've understood you property:<br>
<br>
1.-) use the "Aggregate Graphs" from ganglia's web.<br>
2.-) create a custom grpah and add it to one host :<br>
quick google search:<br>
<a href="http://sourceforge.net/mailarchive/forum.php?thread_name=503E2A47.6020705%40gmail.com&forum_name=ganglia-general" target="_blank">http://sourceforge.net/mailarchive/forum.php?thread_name=503E2A47.6020705%40gmail.com&forum_name=ganglia-general</a><br>
<br>
3.-) as they are RRDs you can mix them using your own script (bash,<br>
perl, python....)<br>
<br>
HTH,<br>
<br>
> Cheers<br>
> Martin<br>
Arnau<br>
<br>
------------------------------------------------------------------------------<br>
WatchGuard Dimension instantly turns raw network data into actionable<br>
security intelligence. It gives you real-time visual feedback on key<br>
security issues and trends. Skip the complicated setup - simply import<br>
a virtual appliance and go from zero to informed in seconds.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Ganglia-general mailing list<br>
<a href="mailto:Ganglia-general@lists.sourceforge.net" target="_blank">Ganglia-general@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ganglia-general" target="_blank">https://lists.sourceforge.net/lists/listinfo/ganglia-general</a><br>
</blockquote></div><br><br clear="all"></div></div></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
Vladimir</font></span></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">------------------------------------------------------<br>Martin Knoblauch<br>email: k n o b i AT knobisoft DOT de<br>www: <a href="http://www.knobisoft.de" target="_blank">http://www.knobisoft.de</a></div>
</div>