Project

General

Profile

Bug #10963

Thermal Sensors widget shows invalid sensors

Added by Steve Wheeler 6 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
Start date:
10/07/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:
All
Release Notes:
Default

Description

The thermal sensors widget can show invalid sensors if it over-matches the output returned by 'sysctl aq'.
In some circumstances that output contains other instances of the word 'temperature' that are not sensors. For example:

coretemp3: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp3: critical temperature detected, suggest system shutdown
coretemp1: critical temperature detected, suggest system shutdown
coretemp3: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp3: critical temperature detected, suggest system shutdown
coretemp1: critical temperature detected, suggest system shutdown
coretemp1: critical temperature detected, suggest system shutdown
coretemp3: critical temperature detected, suggest system shutdown
coretemp3: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
coretemp0: critical temperature detected, suggest system shutdown
hw.acpi.thermal.tz1.temperature: 29.9C
hw.acpi.thermal.tz0.temperature: 27.9C
dev.cpu.3.temperature: 57.0C
dev.cpu.2.temperature: 57.0C
dev.cpu.1.temperature: 64.0C
dev.cpu.0.temperature: 64.0C

See: https://forum.netgate.com/topic/157415/empty-coretemp-entries-in-thermal-sensors-widget


Related issues

Related to Bug #9277: MBT-4220: PFSense OS hangs when accessing WebGUINew2019-01-18

History

#1 Updated by Steve Wheeler 6 months ago

https://github.com/pfsense/pfsense/pull/4475

That looks to avoid this over-matching from over-temp warnings logged to the console.

#2 Updated by Jim Pingle 6 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 6 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#4 Updated by Steve Beaver 6 months ago

  • Assignee changed from Renato Botelho to Steve Wheeler

Please test & resolve

#5 Updated by Steve Wheeler 6 months ago

  • Status changed from Feedback to Resolved

Looks good. Message buffer lines in the sysctl output are no longer parsed.
The values for coretemp and acpi thermal zones are shown correctly if present.

Tested:

2.5.0-DEVELOPMENT (amd64)
built on Sun Oct 18 07:01:13 EDT 2020
FreeBSD 12.2-STABLE

#6 Updated by Jim Pingle 5 months ago

  • Category changed from Web Interface to Dashboard

#7 Updated by Viktor Gurov about 1 month ago

  • Related to Bug #9277: MBT-4220: PFSense OS hangs when accessing WebGUI added

Also available in: Atom PDF