telegraf: Add parameter to enable ZFS stats
Previous templates used the assumptioon, that FreeBSD will always have ZFS and nothing else.
This commit is contained in:
parent
f3ffdfc133
commit
002c19f3ad
3 changed files with 3 additions and 1 deletions
|
@ -84,7 +84,7 @@
|
|||
name_override = "cpu_temp"
|
||||
{% endif %}
|
||||
|
||||
{% if ((override_os_family is defined) | ternary(override_os_family,ansible_os_family)) == 'FreeBSD' %}
|
||||
{% if telegraf_enable_zfs %}
|
||||
# Read metrics of ZFS from arcstats, zfetchstats, vdev_cache_stats, and pools
|
||||
[[inputs.zfs]]
|
||||
## By default, telegraf gather all zfs stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue