[collectd] collectd & write_graphite & mikrotik

Lindsay Holmwood lindsay at holmwood.id.au
Fri Aug 29 13:04:37 CEST 2014


On Wednesday, July 16, 2014, Rolf Bartels <rolfbartels at outlook.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140829/63140fa0/attachment.html>


More information about the collectd mailing list