Code

collectd.conf, filters.conf: Added a sample filter chain configuration.
authorSebastian Harl <sh@tokkee.org>
Sun, 19 Apr 2009 15:56:55 +0000 (17:56 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 19 Apr 2009 15:56:55 +0000 (17:56 +0200)
debian/changelog
debian/collectd.conf
debian/collectd.install
debian/filters.conf [new file with mode: 0644]

index c60df686e31c4c542100f10b496cfdb00db29b4b..d5e2836f7748f773c873efed6a2be4f1c1841a38 100644 (file)
@@ -4,8 +4,10 @@ collectd (4.6.2-2) unstable; urgency=low
     - Added battery_acpi_complain.dpatch - upstream patch to fix excessive
       error messages in the battery plugin in case /proc/acpi/battery is not
       available.
+  * debian/collectd.conf, debian/filters.conf:
+    - Added a sample filter chain configuration.
 
- -- Sebastian Harl <sh@tokkee.org>  Tue, 14 Apr 2009 15:30:35 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Sun, 19 Apr 2009 17:55:58 +0200
 
 collectd (4.6.2-1) unstable; urgency=low
 
index d49ec293e331fcbe2b8f9e1e4066d02f8cb697e6..31ac1cdb8220a0fcc555cf4fc62fabe592387db9 100644 (file)
@@ -496,5 +496,6 @@ LoadPlugin users
 #      Verbose false
 #</Plugin>
 
+Include "/etc/collectd/filters.conf"
 Include "/etc/collectd/thresholds.conf"
 
index e668fe717c60b24e5e36ae96782f70a6ca9ba7ba..390f812fe063a16dd8a45b6e61d6782e32541490 100644 (file)
@@ -1,6 +1,7 @@
 ../../contrib/migrate-3-4.px usr/lib/collectd/utils
 ../../contrib/rrd_filter.px usr/lib/collectd/utils
-../collectd.conf ../collection.conf ../thresholds.conf etc/collectd/
+../collectd.conf ../collection.conf etc/collectd/
+../thresholds.conf ../filters.conf etc/collectd/
 usr/lib/collectd/*.so
 usr/sbin
 usr/share/collectd
diff --git a/debian/filters.conf b/debian/filters.conf
new file mode 100644 (file)
index 0000000..cc63f69
--- /dev/null
@@ -0,0 +1,20 @@
+# Filter configuration for collectd(1).
+#
+# See the section "FILTER CONFIGURATION" in collectd.conf(5) for details.
+
+#PreCacheChain "PreCache"
+#PostCacheChain "PostCache"
+
+#<Chain "PreCache">
+#      <Rule "no_fqdn">
+#              <Match "regex">
+#                      Host "^[^\.]*$"
+#              </Match>
+#              Target "stop"
+#      </Rule>
+#</Chain>
+
+#<Chain "PostCache">
+#      Target "write"
+#</Chain>
+