# Lm-sensors or other way to monitor cpu, board temperatures

**URL:** <https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173>\
**Category:** Product support\
**Created:** [October 19, 2018, 9:13pm UTC](https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173 "2018-10-19T21:13:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason10](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jason10/32/1464_2.png) [@jason10](https://forums.balena.io/u/jason10)\
**Post date:** [October 19, 2018, 9:13pm UTC](https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173/1 "2018-10-19T21:13:27Z")

</div>

Does anyone have experience setting up the lm-sensors, or a different package, to monitor the cpu and board temperatures? We’re going to be putting our devices into enclosures while the initial tests are looking good I do want to be able to monitor the CPU and board temperature sensors.

My selection of lm-sensors is purely google based. It looks like there is a setup stage where it asks a bunch of questions and I haven’t looked into how to make that non-interactive (compatible with docker and resin images).

> <https://askubuntu.com/questions/15832/how-do-i-get-the-cpu-temperature>

---

<div class="post-metadata">

**Author:** ![xginn8](https://avatars.discourse-cdn.com/v4/letter/x/8baadc/32.png) [@xginn8](https://forums.balena.io/u/xginn8)\
**Post date:** [November 9, 2018, 11:27pm UTC](https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173/4 "2018-11-09T23:27:02Z")

</div>

Hi @jason10 –

What board are you trying to monitor temperatures on? It seems like you can disable the interactive behavior of `lm-sensors` by running `sensors-detect --auto` ([Arch wiki reference](https://wiki.archlinux.org/index.php/Lm_sensors#Automatic_lm_sensors_deployment)).

[Netdata](https://github.com/netdata/netdata) and [telegraf](https://github.com/influxdata/telegraf) are also popular monitoring stacks, the former auto-detecting everything and the latter well-suited for arbitrary manipulation and visualization.

I hope this helps you!

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/janvda/32/1271_2.png) [@janvda](https://forums.balena.io/u/janvda)\
**Post date:** [November 10, 2018, 12:37pm UTC](https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173/8 "2018-11-10T12:37:46Z")

</div>

Hi Jason,

I have just released a balena project that monitors the system resources:

> [@Edge device (e.g. raspberry pi) monitoring based on Telegraf, Influxdb and Grafana](https://forums.balena.io/t/edge-device-e-g-raspberry-pi-monitoring-based-on-telegraf-influxdb-and-grafana/4378):
>
> Hi, I am glad to share the following composite docker application [https://github.com/janvda/balena-node-red-mqtt-nginx-TIG-stack/tree/v1.00](https://github.com/janvda/balena-node-red-mqtt-nginx-TIG-stack/tree/v1.00) This application can be used to monitor the system resources of a device based on the arm architecture (e.g. raspberry pi). Rationale for this application I am planning to run multiple services on a single raspberry pi as a multi container application using Balena. For this I would like to be able to check if the raspberry has sufficient resources (me…

It is currently not monitoring the CPU temperature but I don’t think it is hard to extend it so that the telegraf container is also monitoring the CPU temperature. I think that following repository might help with this extension: [GitHub - TheMickeyMike/raspberrypi-temperature-telegraf: Collect RaspberryPi CPU and GPU temperature with telegraf](https://github.com/TheMickeyMike/raspberrypi-temperature-telegraf)

Following link even speaks about collecting lm-sensors metrics by telegraf: [https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sensors](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sensors)

kr  
Jan

---

<div class="post-metadata">

**Author:** ![jason10](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jason10/32/1464_2.png) [@jason10](https://forums.balena.io/u/jason10)\
**Post date:** [November 27, 2018, 5:28pm UTC](https://forums.balena.io/t/lm-sensors-or-other-way-to-monitor-cpu-board-temperatures/4173/9 "2018-11-27T17:28:59Z")

</div>

thanks!
