diff --git a/etc/telegraf.conf b/etc/telegraf.conf index dbf142c2f..f51e973df 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -1077,7 +1077,7 @@ # mount_points = ["/"] ## Ignore mount points by filesystem type. - ignore_fs = ["tmpfs", "devtmpfs", "devfs"] + ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"] # Read metrics about disk IO by device diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index ed5ce1fba..54b7ee0e1 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -242,7 +242,7 @@ # # ## Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually # ## present on /run, /var/run, /dev/shm or /dev). -# # ignore_fs = ["tmpfs", "devtmpfs"] +# # ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"] # # Read metrics about disk IO by device diff --git a/plugins/inputs/system/DISK_README.md b/plugins/inputs/system/DISK_README.md index b647f8128..fa84264be 100644 --- a/plugins/inputs/system/DISK_README.md +++ b/plugins/inputs/system/DISK_README.md @@ -16,7 +16,7 @@ https://en.wikipedia.org/wiki/Df_(Unix) for more details. # mount_points = ["/"] ## Ignore mount points by filesystem type. - ignore_fs = ["tmpfs", "devtmpfs", "devfs"] + ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"] ``` #### Docker container diff --git a/plugins/inputs/system/disk.go b/plugins/inputs/system/disk.go index 864b28477..172261560 100644 --- a/plugins/inputs/system/disk.go +++ b/plugins/inputs/system/disk.go @@ -28,7 +28,7 @@ var diskSampleConfig = ` # mount_points = ["/"] ## Ignore mount points by filesystem type. - ignore_fs = ["tmpfs", "devtmpfs", "devfs"] + ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"] ` func (_ *DiskStats) SampleConfig() string {