[collectd] Filtering python plugins metrics

André Luiz da Silva andresilvaluiz1 at gmail.com
Mon May 11 19:04:42 CEST 2015


Hi everyone,

I would like to send all collectd metrics to a graphite carbon except
metrics collected by my python plugins. How could I do that?

I've tried something like this using Filters and Chains:

LoadPlugin "write_graphite"
<Plugin write_graphite>
        <Carbon>
                Host "10.x.x.x"
                Port "2003"
                Prefix "prod.servers."
                StoreRates true
                AlwaysAppendDS false
                EscapeCharacter "_"
        </Carbon>
</Plugin>

<Chain "PreCache">
        <Rule "send_to_carbon">
                <Match "regex">
                       Invert true
                       Plugin "python"
                </Match>
                <Target "write">
                        Plugin "write_graphite"
                </Target>
                Target stop
        </Rule>
</Chain>

Unfortunately it didn't work.


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150511/d5c55db2/attachment.html>


More information about the collectd mailing list