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
Dustin 2022-07-21 13:13:13 -05:00
parent 87e24aba3f
commit ee0e6873ad
4 changed files with 21 additions and 0 deletions

View File

@ -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
View File

@ -24,6 +24,8 @@ pyrocufflink
[collectd-prometheus:children]
collectd
[collectd-sensors]
[dch-proxy]
[dch-vpn]

View File

@ -7,6 +7,10 @@ pyrocufflink
[collectd-prometheus:children]
collectd
[collectd-sensors]
vmhost0.pyrocufflink.blue
vmhost1.pyrocufflink.blue
[dhcpcd:children]
vm-hosts

View File

@ -0,0 +1,8 @@
- name: ensure collectd-sensors is installed
package:
name: collectd-sensors
state: present
tags:
- install
notify:
- restart collectd