Christopher 66283166f1 update-casaos-healthcheck-to-3.0 (#8)
* 🎨 feat(healthcheck): add new health checks for Docker and storage

This commit introduces two new health checks to the BigBearCasaOS
Healthcheck script:

1. `check_docker_status()`: This function checks if Docker is installed and
   running on the system. It provides clear feedback based on the Docker
   status.

2. `check_storage_health()`: This function checks the health of all storage
   devices (disks) connected to the system using the `smartctl` tool. It
   reports the health status of each disk, indicating if it has passed the
   SMART health check or if there may be potential issues.

These new health checks provide a more comprehensive overview of the system's
overall health and help identify any potential issues related to Docker or
storage-related problems.

* 📄 feat(casaos-healthcheck): Enhance DNS resolution and add system health checks

This change enhances the DNS resolution checks in the casaos-healthcheck script and adds new system health checks for disk space, CPU load, memory usage, and system temperature.

The key changes include:

- Improve DNS resolution by trying multiple DNS servers and retrying on failure
- Add a check for basic network connectivity before attempting DNS lookups
- Implement a check for disk space usage, with a configurable threshold
- Implement a check for CPU load, with a configurable threshold based on the number of cores
- Implement a check for memory usage, with a configurable threshold based on total memory
- Implement a check for system temperature, using the `sensors` command or `/sys/class/thermal` when available
- Add a check for available system updates using `apt-get`

These new checks provide a more comprehensive health monitoring solution for the CasaOS system.

*  feat: Bump healthcheck version to 3.0

Bumped the version of the BigBearCasaOS Healthcheck tool from 2.3 to 3.0.
This change reflects the latest updates and improvements made to the
healthcheck script.
2024-09-27 09:56:57 -05:00
2023-10-04 21:27:05 -05:00
2023-09-15 18:59:00 -05:00
2023-09-19 13:04:26 -05:00
2023-08-22 12:07:19 -05:00
2023-08-14 21:39:57 -05:00
2023-09-21 08:17:53 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%