[collectd] Filtering and default target

André Luiz da Silva andresilvaluiz1 at gmail.com
Tue May 12 16:54:41 CEST 2015


Hi everyone!

I've created the following configurationg with the goal of writing swapping
metrics to a csv file and memory metrics to rrd files; only all of the
others metrics should be send over http, which means all metrics except
"swap" and "memory".

Why collectd is sending swap and memory metrics over http?

Chain "PostCache">
<Rule "send_swap_to_csv">
<Match "regex">
Plugin "^swap$"
</Match>
<Target "write">
Plugin "csv"
</Target>
</Rule>
<Rule "send_memory_to_rrd">
<Match "regex">
Plugin "^memory$"
</Match>
<Target "write">
Plugin "rrdtool"
</Target>
</Rule>
<Target "write">
Plugin "write_http"
</Target>
</Chain>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150512/ad36d0a3/attachment.html>


More information about the collectd mailing list