[collectd] CPU utilization

Richard Elling richard.elling at richardelling.com
Fri Feb 20 02:37:34 CET 2015

> On Feb 19, 2015, at 2:17 PM, Stuart Cracraft <smcracraft at me.com> wrote:
> Curious, with exec collectd plugin, when doing the echo of
>  PUTVAL fully-qualified-hostname/something/gauge ….
> so that the collect parent gathers it, I’ve observed that there
> can only be one something in the path. One can’t do:
>  PUTVAL fully-qualified-hostname/something/anotherthing/gauge (A)
> It is limited to one level.
> I’m having to do this to get all the information in:
>  PUTVAL fully-qualified-hostname/something-anotherthing/gauge
> The problem with that is if there are many metrics, then the visual
> (we use graphite) fills up fast and I’d like to keep it hierarchical rather
> than a flat space.
> Any way in collectd to make it hierarchical as in (A)?

Yes, see the docs on the write_graphite plugin (man collectd.conf) where
you can configure the EscapeCharacter to choose your separator. Also
check whether the SeparateInstances option matches your needs.
 -- richard 

More information about the collectd mailing list