diff --git a/roles/telegraf/templates/telegraf.conf.j2 b/roles/telegraf/templates/telegraf.conf.j2 index 2cd0b8c7e3349c55a272c9017cc6400fa297527d..d40b70bcaf20deecaaa26e05aaeeea5e32323dad 100644 --- a/roles/telegraf/templates/telegraf.conf.j2 +++ b/roles/telegraf/templates/telegraf.conf.j2 @@ -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=["/"]