From 2e0ae5b4a1c2b4b682fcb31ddd62537204167a86 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 22 Nov 2012 09:59:30 +0100 Subject: [PATCH] collectd.conf: Let the 'df' plugin ignore various file-systems by default. Ignore 'rootfs' (else, the root file-system would appear twice, causing one of the updates to fail and spam the log) and the usual virtual / temporary file-systems. --- debian/changelog | 4 ++++ debian/collectd.conf | 19 ++++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 771eab3..811dd95 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,10 @@ collectd (5.2.0-1) experimental; urgency=low - Install the collectd (daemon) headers to /usr/include/collectd/core/ rather than /usr/include/collectd/. The latter is used by libcollectdclient which causes file conflicts. + * debian/collectd.conf: + - Let the 'df' plugin ignore 'rootfs' (else, the root file-system would + appear twice, causing one of the updates to fail and spam the log) and + the usual virtual / temporary file-systems. -- Sebastian Harl Tue, 20 Nov 2012 15:40:12 +0100 diff --git a/debian/collectd.conf b/debian/collectd.conf index 8130154..9b6acea 100644 --- a/debian/collectd.conf +++ b/debian/collectd.conf @@ -342,16 +342,29 @@ LoadPlugin users # # -# + # Device "/dev/sda1" # Device "192.168.0.2:/mnt/nfs" # MountPoint "/home" # FSType "ext3" -# IgnoreSelected false + + # ignore rootfs; else, the root file-system would appear twice, causing + # one of the updates to fail and spam the log + FSType rootfs + # ignore the usual virtual / temporary file-systems + FSType sysfs + FSType proc + FSType devtmpfs + FSType devpts + FSType tmpfs + FSType fusectl + FSType cgroup + IgnoreSelected true + # ReportByDevice false # ReportReserved false # ReportInodes false -# + # # Disk "hda" -- 2.30.2