Project

General

Profile

Actions

Bug #10963

closed

Thermal Sensors widget shows invalid sensors

Added by Steve Wheeler about 1 year ago. Updated 12 months ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

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/2220: pfSense hangs when running sysctl -aNew01/18/2019

Actions
Actions #1

Updated by Steve Wheeler about 1 year ago

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

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

Actions #2

Updated by Jim Pingle about 1 year ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho about 1 year 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!

Actions #4

Updated by Steve Beaver about 1 year ago

  • Assignee changed from Renato Botelho to Steve Wheeler

Please test & resolve

Actions #5

Updated by Steve Wheeler about 1 year 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

Actions #6

Updated by Jim Pingle 12 months ago

  • Category changed from Web Interface to Dashboard
Actions #7

Updated by Viktor Gurov 7 months ago

  • Related to Bug #9277: MBT-4220/2220: pfSense hangs when running sysctl -a added
Actions

Also available in: Atom PDF