From a60327a995a8763c09193eee968e9d43eee208d8 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 21 Jul 2022 12:22:51 -0500 Subject: [PATCH] r/collectd: Allow the thermal plugin Raspberry Pi devices provide SoC temperature information through thermal zone data in sysfs. --- roles/collectd/defaults/main.yml | 1 + roles/collectd/templates/collectd.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/collectd/defaults/main.yml b/roles/collectd/defaults/main.yml index 2b5f168..47b1798 100644 --- a/roles/collectd/defaults/main.yml +++ b/roles/collectd/defaults/main.yml @@ -7,6 +7,7 @@ collectd_plugins: {} collectd_plugins_defaults: md: false + thermal: false collectd_df: {} diff --git a/roles/collectd/templates/collectd.conf.j2 b/roles/collectd/templates/collectd.conf.j2 index ea02ff0..187dc9f 100644 --- a/roles/collectd/templates/collectd.conf.j2 +++ b/roles/collectd/templates/collectd.conf.j2 @@ -220,7 +220,7 @@ LoadPlugin {{ name }} {{ load_plugin('tcpconns') }} #LoadPlugin teamspeak2 #LoadPlugin ted -#LoadPlugin thermal +{{ load_plugin('thermal') }} ##LoadPlugin tokyotyrant ##LoadPlugin turbostat #LoadPlugin unixsock