On Fri, Jan 29, 2016 at 3:31 PM Vaughn Wernersbach <
[email protected]> 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
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to