Skip to content
Snippets Groups Projects

Update telegraf input.disk config to exclude nfs4

Merged Kerri Wait requested to merge fix-telegraf-disk into master
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -99,13 +99,13 @@
# Read metrics about disk usage by mount point
[[inputs.disk]]
{% if 'ComputeNodes' in group_names %}
{% if 'ComputeNodes' in group_names %}
interval = "60s"
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs", "nfsv4"]
{% endif %}
{% if 'LoginNodes' in group_names %}
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs", "nfsv4", "nfs4"]
{% endif %}
{% if 'LoginNodes' in group_names %}
interval = "60s"
{% endif %}
{% endif %}
# By default, telegraf gather stats for all mountpoints.
# Setting mountpoints will restrict the stats to the specified mountpoints.
# mount_points=["/"]
Loading