r/collectd-sensors: Install collectd sensors plugin
The *sensors* plugin for collectd reads temperature information from the I²C/SMBus using *lm_sensors*. Naturally, it is only useful on physical machines, so it is not installed or enabled by default.btop
parent
87e24aba3f
commit
ee0e6873ad
|
@ -7,6 +7,13 @@
|
|||
tags:
|
||||
- collectd-version
|
||||
|
||||
- hosts: collectd-sensors
|
||||
roles:
|
||||
- role: collectd-sensors
|
||||
tags:
|
||||
- collectd
|
||||
- collectd-sensors
|
||||
|
||||
- hosts: collectd-prometheus
|
||||
roles:
|
||||
- role: collectd-prometheus
|
||||
|
|
2
hosts
2
hosts
|
@ -24,6 +24,8 @@ pyrocufflink
|
|||
[collectd-prometheus:children]
|
||||
collectd
|
||||
|
||||
[collectd-sensors]
|
||||
|
||||
[dch-proxy]
|
||||
|
||||
[dch-vpn]
|
||||
|
|
|
@ -7,6 +7,10 @@ pyrocufflink
|
|||
[collectd-prometheus:children]
|
||||
collectd
|
||||
|
||||
[collectd-sensors]
|
||||
vmhost0.pyrocufflink.blue
|
||||
vmhost1.pyrocufflink.blue
|
||||
|
||||
[dhcpcd:children]
|
||||
vm-hosts
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
- name: ensure collectd-sensors is installed
|
||||
package:
|
||||
name: collectd-sensors
|
||||
state: present
|
||||
tags:
|
||||
- install
|
||||
notify:
|
||||
- restart collectd
|
Loading…
Reference in New Issue