collectd.conf.in: Add something for the filtering stuff.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 23 Nov 2008 12:47:20 +0000 (13:47 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 23 Nov 2008 12:47:20 +0000 (13:47 +0100)
Mostly a pointer to the manual page for now.

src/collectd.conf.in

index cdbef5a..fdc00c0 100644 (file)
@@ -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
 #      </Directory>
 #</Plugin>
 
-#<Plugin filter_pcre>
-#      <RegEx>
-#              Host "^mail\d+$"
-#              Plugin "^tcpconns$"
-#              TypeInstance "^SYN_"
-#
-#              Action NoWrite
-#      </RegEx>
-#
-#      <RegEx>
-#              Plugin "^sensors$"
-#              PluginInstance "^Some Weird Sensor Chip Name Prefix"
-#
-#              SubstitutePluginInstance "foo"
-#      </RegEx>
-#</Plugin>
-
 @BUILD_PLUGIN_HDDTEMP_TRUE@<Plugin hddtemp>
 #      Host "127.0.0.1"
 #      Port "7634"
@@ -470,3 +452,22 @@ FQDNLookup   true
 #      Verbose false
 #</Plugin>
 
+# * * * * * * * * * * * * *
+# * 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.
+
+#<Chain "Main">
+#  Target "write"
+#</Chain>