CPU temperature not reporting on graph

Description

The CPU Temperature graph is not reporting the current temp or history is Safari 15 and Chrome. Dashboard does show the CPU temps and stats for each core.

Problem/Justification

None

Impact

None

Activity

Show:

Samuel Tai October 7, 2021 at 1:43 AM
Edited

I have this issue too, and this seems to be due to a simple off-by-1 in /usr/local/lib/python3.9/site-packages/middlewared/plugins/reporting/plugins_freebsd.py during the calculation _get_number_of_cores(self)__, which returns sysctl.filter('kern.smp.cpus')[0].value. This is the 1-indexed number of cores. However, all the subsequent uses of _get_number_of_cores(self) in _{{}}check_cputemp_avail(self) and get_defs(self, identifier) assume a 0-indexed value. Changing the loops to start from 1 should resolve this.

Alfonso Marsiglia October 7, 2021 at 12:17 AM

Debug file attached.

iX-Tony October 6, 2021 at 7:34 PM

Thank you for the report, . Can you please attach a debug file to the "Private Attachments" section of this ticket? To generate a debug file on TrueNAS CORE, log in to the TrueNAS web interface, go to System > Advanced, then click SAVE DEBUG and wait for the file to download to your local system.

Duplicate

Details

Assignee

Reporter

Labels

Impact

Low

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created October 6, 2021 at 2:28 PM
Updated July 6, 2022 at 9:00 PM
Resolved December 14, 2021 at 12:20 PM

Flag notifications