mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-03-31 06:24:02 -04:00
[PR #17] [MERGED] ✨ feat(healthcheck): add dmesg error check #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bigbeartechworld/big-bear-scripts/pull/17
Author: @dragonfire1119
Created: 10/25/2024
Status: ✅ Merged
Merged: 10/25/2024
Merged by: @dragonfire1119
Base:
master← Head:Add-dmesg-check-to-BigBearCasaOS-Healthcheck📝 Commits (1)
7226de8✨ feat(healthcheck): add dmesg error check📊 Changes
1 file changed (+26 additions, -1 deletions)
View changed files
📝
casaos-healthcheck/run.sh(+26 -1)📄 Description
This pull request adds a new feature to the CasaOS health check system. The new functionality checks the system's dmesg logs for any critical errors or warnings. This helps identify potential hardware or kernel issues that may impact the system's stability.
The new function will print out the last 10 errors found in the dmesg logs and indicate if there are more errors. It also warns the user if they don't have the required permissions to read the dmesg logs.
This change is important to provide a more comprehensive health check for CasaOS systems, as dmesg logs can often contain valuable information about underlying system issues.
Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.