collectd: drop hddtemp config section except on RHEL 6
It is unnecessary since collectd 4, and breaks with 5.9.0 or later. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
52137a4590
commit
f5522d3fa6
1 changed files with 3 additions and 0 deletions
|
@ -59,8 +59,11 @@ LoadPlugin vmem
|
|||
IgnoreSelected true
|
||||
</Plugin>
|
||||
|
||||
{% if ansible_distribution_major_version|default(0)|int == 6 and ansible_distribution == "RedHat" %}
|
||||
<Plugin hddtemp>
|
||||
TranslateDevicename false
|
||||
|
||||
</Plugin>
|
||||
|
||||
{% endif %}
|
||||
Include "/etc/collectd.d"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue