[PR #17] [MERGED] feat(healthcheck): add dmesg error check #20

Closed
opened 2025-11-20 04:14:19 -05:00 by saavagebueno · 0 comments
Owner

📋 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: masterHead: 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

    • Introduced a new health check for critical system errors by analyzing dmesg logs.
    • Displays relevant error messages and indicates the number of occurrences found.
  • Improvements

    • Updated the main execution flow to include the new error-checking function.
    • Incremented version number from V3.2 to V3.3 to reflect updates.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bigbeartechworld/big-bear-scripts/pull/17 **Author:** [@dragonfire1119](https://github.com/dragonfire1119) **Created:** 10/25/2024 **Status:** ✅ Merged **Merged:** 10/25/2024 **Merged by:** [@dragonfire1119](https://github.com/dragonfire1119) **Base:** `master` ← **Head:** `Add-dmesg-check-to-BigBearCasaOS-Healthcheck` --- ### 📝 Commits (1) - [`7226de8`](https://github.com/bigbeartechworld/big-bear-scripts/commit/7226de861d0bc806867a915a6b97998b00658457) ✨ feat(healthcheck): add dmesg error check ### 📊 Changes **1 file changed** (+26 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `casaos-healthcheck/run.sh` (+26 -1) </details> ### 📄 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. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new health check for critical system errors by analyzing dmesg logs. - Displays relevant error messages and indicates the number of occurrences found. - **Improvements** - Updated the main execution flow to include the new error-checking function. - Incremented version number from V3.2 to V3.3 to reflect updates. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 04:14:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/big-bear-scripts#20