<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1425787026158_19970">With InfluxDB you might be able to do a continuous query, e.g.:</div><div id="yui_3_16_0_1_1425787026158_19971"><br></div><div id="yui_3_16_0_1_1425787026158_20075" dir="ltr">SELECT * FROM /hostname\/cpu-.*/ INTO foo.bar.cpu.[type]</div><div id="yui_3_16_0_1_1425787026158_20160" dir="ltr"><br></div><div id="yui_3_16_0_1_1425787026158_20161" dir="ltr">Thanks</div><div id="yui_3_16_0_1_1425787026158_20241" dir="ltr">Kimo</div><div id="yui_3_16_0_1_1425787026158_20406" dir="ltr"><br></div><blockquote id="yui_3_16_0_1_1425787026158_19723" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div id="yui_3_16_0_1_1425787026158_19722" style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1425787026158_19721" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1425787026158_19720" dir="ltr"> <hr id="yui_3_16_0_1_1425787026158_19891" size="1"> <font id="yui_3_16_0_1_1425787026158_19890" size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Stuart Cracraft <smcracraft@me.com><br> <b><span style="font-weight: bold;">To:</span></b> Florin Andrei <florin@andrei.myip.org> <br><b><span style="font-weight: bold;">Cc:</span></b> collectd@verplant.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 6, 2015 8:42 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [collectd] customizing metrics paths for various plugins<br> </font> </div> <div id="yui_3_16_0_1_1425787026158_19724" class="y_msg_container"><br>I need this also.<br clear="none"><br clear="none">We use pingdom and have a large number of externally driven<br clear="none">metrics which we API out to and incoming from our network.<br clear="none"><br clear="none">collectd is gathered and the charts are all flat and take up a lot<br clear="none">of space in graphite.<br clear="none"><br clear="none">Anyone have any thoughts on InfluxDB and Grafana?<br clear="none"><br clear="none"><br clear="none">> On Mar 6, 2015, at 6:28 PM, Florin Andrei <<a shape="rect" ymailto="mailto:florin@andrei.myip.org" href="mailto:florin@andrei.myip.org">florin@andrei.myip.org</a>> wrote:<br clear="none">> <br clear="none">> New to this project, I am testing collectd as a metrics collector to be used with Graphite. Everything's fine so far, and I am very impressed with how easy it is to collect high-frequency samples with very low CPU usage.<br clear="none">> <br clear="none">> I've enabled the CPU plugin and the metrics are showing up in Graphite. But each individual metric is prefixed with "cpu-":<br clear="none">> <br clear="none">> collectdlocalhostcollectd/<br clear="none">> ├── cpu-0<br clear="none">> │ ├── cpu-idle.wsp<br clear="none">> │ ├── cpu-interrupt.wsp<br clear="none">> │ ├── cpu-nice.wsp<br clear="none">> │ ├── cpu-softirq.wsp<br clear="none">> │ ├── cpu-steal.wsp<br clear="none">> │ ├── cpu-system.wsp<br clear="none">> │ ├── cpu-user.wsp<br clear="none">> │ └── cpu-wait.wsp<br clear="none">> <br clear="none">> This seems redundant, and when visualized with Grafana, it takes too much space in the legend. Is there a way to get rid of the "cpu-" prefix in the metrics names? Let's say for the user metric, I want the path to be...<br clear="none">> <br clear="none">> host.cpu-0.user<br clear="none">> <br clear="none">> ...instead of...<br clear="none">> <br clear="none">> host.cpu-0.cpu-user<br clear="none">> <br clear="none">> Same question for the memory plugin.<br clear="none">> <br clear="none">> For the load plugin, the path is load.load.longterm - here the load label appears on two different levels. Can I get rid of one level?<br clear="none">> <br clear="none">> Also, is there a way to group some plugins under the same branch? I'd like CPU, memory, load, etc to fall under the category "os". Other plugins, such as Apache, etc. I'd like to group under the "app" category.<br clear="none">> <br clear="none">> host<br clear="none">> os<br clear="none">> cpu<br clear="none">> memory<br clear="none">> load<br clear="none">> app<br clear="none">> apache<br clear="none">> <br clear="none">> It's not clear to me how to manipulate these paths with collectd.<br clear="none">> <br clear="none">> -- <br clear="none">> Florin Andrei<br clear="none">> <a shape="rect" href="http://florin.myip.org/" target="_blank">http://florin.myip.org/</a><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> collectd mailing list<br clear="none">> <a shape="rect" ymailto="mailto:collectd@verplant.org" href="mailto:collectd@verplant.org">collectd@verplant.org</a><br clear="none">> <a shape="rect" href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><div class="qtdSeparateBR"><br><br></div><div class="yqt8407439132" id="yqtfd85638"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">collectd mailing list<br clear="none"><a shape="rect" ymailto="mailto:collectd@verplant.org" href="mailto:collectd@verplant.org">collectd@verplant.org</a><br clear="none"><a shape="rect" href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br clear="none"></div><br><br></div> </div> </div> </blockquote> </div></body></html>