Actions
Bug #10963
closedThermal Sensors widget shows invalid sensors
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
Updated by Steve Wheeler about 4 years ago
https://github.com/pfsense/pfsense/pull/4475
That looks to avoid this over-matching from over-temp warnings logged to the console.
Updated by Jim Pingle about 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho about 4 years 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!
Updated by Anonymous about 4 years ago
- Assignee changed from Renato Botelho to Steve Wheeler
Please test & resolve
Updated by Steve Wheeler about 4 years 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
Updated by Jim Pingle about 4 years ago
- Category changed from Web Interface to Dashboard
Updated by Viktor Gurov over 3 years ago
- Related to Bug #9277: MBT-4220/2220: pfSense hangs when running sysctl -a added
Actions