<div dir="ltr">Sounds good to me. Thanks for sharing!<div class="gmail_extra"><br clear="all"><div>Otis<br>--<br>Performance Monitoring * Log Analytics * Search Analytics<br>Solr & Elasticsearch Support * <a href="http://sematext.com/" target="_blank">http://sematext.com/</a></div>
<br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 3:30 AM, Toni Moreno <span dir="ltr"><<a href="mailto:toni.moreno@gmail.com" target="_blank">toni.moreno@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Hi Otis.</div><div><br></div><div>I think this approach is much better in very big servers ( I usually work in servers with up to 40 cores ) and is easier to parse a single line on /proc/stats than calculate 40* 8 ( metrics/core) averages values. </div>
<div><br></div><div>It also makes to have simpler config files ( avoiding average plugin).</div></div><div><br></div><div>I will do a pull request in next days on this week.<br></div><div> </div><div>Thanks a lot !! </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/16 Otis Gospodnetic <span dir="ltr"><<a href="mailto:otis.gospodnetic@gmail.com" target="_blank">otis.gospodnetic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi Toni,<div><br></div><div>Would it be better to issue a PR at <a href="https://github.com/collectd/collectd" target="_blank">https://github.com/collectd/collectd</a> instead?</div><div class="gmail_extra">
<br></div><div class="gmail_extra">
Q: why is this approach better than using the aggregate functionality?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,<br clear="all"><div>Otis<br>--<br>Performance Monitoring * Log Analytics * Search Analytics<br>
Solr & Elasticsearch Support * <a href="http://sematext.com/" target="_blank">http://sematext.com/</a></div>
<br><br><div class="gmail_quote"><div><div>On Wed, Nov 6, 2013 at 8:24 AM, Toni Moreno <span dir="ltr"><<a href="mailto:toni.moreno@gmail.com" target="_blank">toni.moreno@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
<div dir="ltr"><div>Hi.</div><div><br></div><div>I've been working on get global average CPU , from the cpu plugin better than use the "aggregate" to get the same values.</div><div><br></div><div>I've attached a patch for the cpu plugin.</div>
<div><br></div><div>with this patch you will get a new "plugin-instance" named "global" , with % average of all cpu cores .</div><div><br></div><div>I've obtained these values from the same proc file that cpu plugin uses for the other cores.</div>
<div><br></div><div>NOTE: This patch is only for linux.</div><div><br></div><div><br></div><div>I hope you can enjoy it</div><div><br></div><div><br></div></div></div></div></blockquote></div></div></div></blockquote></div>
</div></div></blockquote></div></div></div>