Comment 2 for bug 680353

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This happens because we use acpi to get the thermal data, and this seems to work only for laptops.

A workaround is to use a custom graph to plot the desired output of the sensors command. Here is an example:

https://help.landscape.canonical.com/CustomGraphs/Examples#lm-sensors

That being said, we could probably fallback to lm-sensors if there is no temperature being reported by acpi.

One of the concerns I have is that the output of sensors is not always accurate and can be confusing, with names we have no idea what they represent, like temp1, temp2, etc.

In my laptop, for example, I have 16 values for "temp" alone when using the "ISA adapter", and two values for the "Virtual Device" adapter. I have no idea how we could decide programatically which values to use in the graph. What I usually do is pick the one that looks more reasonable, or agrees with what I see in the computer BIOS, and stick to that.