On Wednesday, July 16, 2014, Rolf Bartels <<a href="mailto:rolfbartels@outlook.com">rolfbartels@outlook.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><div><br></div><div>When collectd pulls the index name I think because the name returns like <pppoe-username> when it post the details to graphite the instance because of the <> it's posting as a blank. </div>
<div>How can I get collectd to remove the <> in the instance name before it posts to graphite, alternatively maybe someone could recode the write_graphite plugin to accept an option like </div><div><br></div><div>ReplaceChar ( "tihs, "with tihs")</div>
</div></div></blockquote><div><br></div><div>Check out the replace target:</div><div><br></div><div><a href="https://collectd.org/documentation/manpages/collectd.conf.5.shtml#built_in_targets">https://collectd.org/documentation/manpages/collectd.conf.5.shtml#built_in_targets</a><br>
</div><div><br></div><div>It does pretty much exactly what you want. </div><div><br></div><div>Cheers,</div><div>Lindsay</div><br><br>-- <br>w: <a href="http://fractio.nl/" target="_blank">http://fractio.nl/</a><br>t: @auxesis<br>