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:
|
tags:
|
||||||
- collectd-version
|
- collectd-version
|
||||||
|
|
||||||
|
- hosts: collectd-sensors
|
||||||
|
roles:
|
||||||
|
- role: collectd-sensors
|
||||||
|
tags:
|
||||||
|
- collectd
|
||||||
|
- collectd-sensors
|
||||||
|
|
||||||
- hosts: collectd-prometheus
|
- hosts: collectd-prometheus
|
||||||
roles:
|
roles:
|
||||||
- role: collectd-prometheus
|
- role: collectd-prometheus
|
||||||
|
|
2
hosts
2
hosts
|
@ -24,6 +24,8 @@ pyrocufflink
|
||||||
[collectd-prometheus:children]
|
[collectd-prometheus:children]
|
||||||
collectd
|
collectd
|
||||||
|
|
||||||
|
[collectd-sensors]
|
||||||
|
|
||||||
[dch-proxy]
|
[dch-proxy]
|
||||||
|
|
||||||
[dch-vpn]
|
[dch-vpn]
|
||||||
|
|
|
@ -7,6 +7,10 @@ pyrocufflink
|
||||||
[collectd-prometheus:children]
|
[collectd-prometheus:children]
|
||||||
collectd
|
collectd
|
||||||
|
|
||||||
|
[collectd-sensors]
|
||||||
|
vmhost0.pyrocufflink.blue
|
||||||
|
vmhost1.pyrocufflink.blue
|
||||||
|
|
||||||
[dhcpcd:children]
|
[dhcpcd:children]
|
||||||
vm-hosts
|
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