On Wednesday, July 16, 2014, Rolf Bartels <[email protected]> wrote:
>
>
> 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.
> 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
>
> ReplaceChar ( "tihs, "with tihs")
>

Check out the replace target:

https://collectd.org/documentation/manpages/collectd.conf.5.shtml#built_in_targets

It does pretty much exactly what you want.

Cheers,
Lindsay


-- 
w: http://fractio.nl/
t: @auxesis
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to