From 94c08075690d79afc3cf92c325e62cdc8b719792 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 23 Nov 2008 13:47:20 +0100 Subject: [PATCH] collectd.conf.in: Add something for the filtering stuff. Mostly a pointer to the manual page for now. --- src/collectd.conf.in | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index cdbef5a1..fdc00c09 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -42,7 +42,6 @@ FQDNLookup true @BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy @BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec @BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount -@BUILD_PLUGIN_FILTER_PCRE_TRUE@LoadPlugin filter_pcre @BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp @BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface @BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables @@ -172,23 +171,6 @@ FQDNLookup true # # -# -# -# Host "^mail\d+$" -# Plugin "^tcpconns$" -# TypeInstance "^SYN_" -# -# Action NoWrite -# -# -# -# Plugin "^sensors$" -# PluginInstance "^Some Weird Sensor Chip Name Prefix" -# -# SubstitutePluginInstance "foo" -# -# - @BUILD_PLUGIN_HDDTEMP_TRUE@ # Host "127.0.0.1" # Port "7634" @@ -470,3 +452,22 @@ FQDNLookup true # Verbose false # +# * * * * * * * * * * * * * +# * FILTER CONFIGURATION * +# * * * * * * * * * * * * * + +# The following configures collectd's filtering mechanism. Before changing +# anything in this section, please read the `FILTER CONFIGURATION' section in +# the collectd.conf(5) manual page. + +# Load required matches: +#@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex + +# Load required targets: + +# The following block demonstrates the default behavior if no filtering is +# configured at all: All values will be sent to all available write plugins. + +# +# Target "write" +# -- 2.30.2