[collectd] Grouping the output of collectd in graphite

Giovanni Torres giovanni.torres at gmail.com
Sat Jan 30 01:52:20 CET 2016


On Fri, Jan 29, 2016 at 3:31 PM Vaughn Wernersbach <
Vaughn.Wernersbach at bidstrading.com> wrote:

> Does replace support capture groups?
>
>
>
> For instance, I’d like to rename hostname from server.domain.com to
> domain.server (so things are better organized on the graphite side).
>
Doesn't look so after a quick look at target_replace.c, but I could be
wrong.
If you only have a few domains, however, you could probably do this
manually in the target replace section:
    Host "\\<server.example.com\\>" "example.server"

Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160130/1ac69f6a/attachment.html>


More information about the collectd mailing list