[collectd] Filtering python plugin
André Luiz da Silva
andresilvaluiz1 at gmail.com
Fri May 8 19:10:11 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/20150508/acb94db7/attachment.html>
More information about the collectd
mailing list