Skip to content

Commit e34c273

Browse files
authored
Merge pull request #127 from thin-edge/fix-collectd-df-config
fix(collectd): only monitor disk usage of rootfs and overlay partitions
2 parents a405b68 + 11ecc7e commit e34c273

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

images/common/config/collectd.conf

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -484,28 +484,8 @@ LoadPlugin mqtt
484484
#</Plugin>
485485

486486
<Plugin df>
487-
# Device "/dev/sda1"
488-
# Device "192.168.0.2:/mnt/nfs"
489-
# MountPoint "/home"
490-
# FSType "ext3"
491-
492-
IgnoreSelected true #Ignore the partitions with the file system types (FSType) listed below
493-
# ignore rootfs; else, the root file-system would appear twice, causing
494-
# one of the updates to fail and spam the log
495487
FSType rootfs
496-
# ignore the usual virtual / temporary file-systems
497-
FSType sysfs
498-
FSType proc
499-
FSType devtmpfs
500-
FSType devpts
501-
FSType tmpfs
502-
FSType fusectl
503-
FSType cgroup
504-
FSType vfat # File system type of boot partition
505-
FSType squashfs # File system type of snap partitions
506-
507-
# ReportByDevice false
508-
# ReportInodes false
488+
FSType overlay
509489

510490
ValuesAbsolute false
511491
ValuesPercentage true

0 commit comments

Comments
 (0)