From: Sebastian Harl Date: Thu, 22 Nov 2012 08:59:30 +0000 (+0100) Subject: collectd.conf: Let the 'df' plugin ignore various file-systems by default. X-Git-Tag: collectd-5.2.0-1~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e0ae5b4a1c2b4b682fcb31ddd62537204167a86;p=pkg-collectd.git 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. --- 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"