Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU Temperature graphs not working in 24.7.7 #8023

Open
2 tasks done
awilkin87 opened this issue Oct 29, 2024 · 1 comment
Open
2 tasks done

CPU Temperature graphs not working in 24.7.7 #8023

awilkin87 opened this issue Oct 29, 2024 · 1 comment

Comments

@awilkin87
Copy link

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

After upgrading to 24.7.7, I found that the reporting graphs were not working. I reset the RRD data and restarted the system. The graphs re-populated, except for the cputemp graph.

After some troubleshooting, I tracked the issue to the recent RRD refactoring (#7836). I found that the sysctl command to get CPU temps was returning an error. Also, the RRD filename is not defined in Types/Temperature.php.

To Reproduce

Steps to reproduce the behavior:

  1. Install OPNsense 24.7.6
  2. Ensure Thermal Sensors are configured correctly under System -> Settings -> Miscellaneous
  3. Ensure "Enables the RRD graphing backend" is checked under Reporting -> Settings.
  4. Ensure non-zero values are displayed in the System/Cputemp graph under Reporting -> Health.
  5. Upgrade to OPNsense 24.7.7
  6. Go to Reporting -> Settings
  7. Click "Reset RRD Data"
  8. Wait over 1 minute

Actual behavior

  • The system-cputemp RRD is not recreated
  • There is no System/Cputemp graph under Reporting -> Health, or if there is a graph it does not update.

Expected behavior

  • The system-cputemp RRD should be listed under Reporting -> Settings
  • The System/Cputemp graph under Reporting -> Health should appear with non-zero values.

Describe alternatives you considered

N/A

Screenshots

N/A

Relevant log files

N/A

Additional context

N/A

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 24.7.7 (amd64).
Intel® Pentium® J3710 2.64Ghz Quad Core (using coretemp)
Network Intel® I225-V

@awilkin87
Copy link
Author

I've submitted a pull request with a fix: #8024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant