title: Graphite + Collectd - How to plot memory used percentage for each host?
body: <p>I have graphite+collectd setup to collect system related metrics. This question concerns with the memory plugin for collectd.</p>
  
  <p>My infra has this format for collecting memory usage data using collectd:</p>
  
  <pre><code>&lt;cluster&gt;.&lt;host&gt;.memory.memory-{buffered,cached,free,used}
  </code></pre>
  
  <p>I want to plot the percentage of memory used for each host.</p>
  
  <p>So basically, I have to do something like this:</p>
  
  <pre><code>divideSeries(sumSeriesWithWildCards(*.*.memory.memory-{buffered,cached,free},1),sumSeriesWithWildCards(*.*.memory.memory-{buffered,cached,free,used}),1)
  </code></pre>
  
  <p>But I am not able to do this, as divideSeries wants the divisor metric to return only one metric.</p>
  
  <p>I basically want a single target to monitor all hosts in a cluster.</p>
  
  <p>How can I do this?</p>