Update docs for os-healthcheck toolkit layout

This commit is contained in:
Mateusz Suski
2026-05-05 21:50:20 +00:00
parent 65c7c82f0f
commit c88428d092
8 changed files with 16 additions and 10 deletions
+6 -2
View File
@@ -8,7 +8,7 @@
- `infra-run`
- `platform-projects`
- `labs`
- Linux operations Bash toolkit:
- Linux operations Bash toolkit under `infra-run/scripts/bash/os-healthcheck/`:
- healthcheck
- disk usage checks
- service checks
@@ -18,7 +18,7 @@
- large files detection
- deleted open files detection
- safe cleanup suggestions
- Network troubleshooting script:
- Network troubleshooting script under `infra-run/scripts/bash/os-healthcheck/`:
- interface, routing, DNS, connectivity checks
- Veritas storage toolkit:
- VxVM disk detection
@@ -32,6 +32,10 @@
- rebalance
- Runbook-style structure and step-based execution.
### Changed
- Moved Linux operations scripts into `infra-run/scripts/bash/os-healthcheck/` to keep host health and troubleshooting checks grouped together.
### Notes
- All scripts default to dry-run where change actions are present.
+3 -3
View File
@@ -12,9 +12,9 @@ This repository demonstrates real-world Linux infrastructure and operations expe
### Linux Operations Toolkit
[infra-run/scripts/bash/](./infra-run/scripts/bash/)
[infra-run/scripts/bash/os-healthcheck/](./infra-run/scripts/bash/os-healthcheck/)
General Linux operations scripts for host health checks, disk usage checks, service validation, and system reporting. The toolkit is written for practical operations checks on RHEL, Oracle Linux, and Ubuntu-style systems.
General Linux operations scripts for host health checks, disk usage checks, service validation, system reporting, and first-pass OS-level diagnostics. The toolkit is written for practical operations checks on RHEL, Oracle Linux, and Ubuntu-style systems.
### Disk Full Incident Toolkit
@@ -24,7 +24,7 @@ Production-style disk full incident workflow covering filesystem usage, inode pr
### Network Troubleshooting
[infra-run/scripts/bash/](./infra-run/scripts/bash/)
[infra-run/scripts/bash/os-healthcheck/](./infra-run/scripts/bash/os-healthcheck/)
OS-level network diagnostics for interfaces, routes, DNS resolution, gateway reachability, listening sockets, and optional remote connectivity checks. The script is designed for first-pass troubleshooting during Linux operations incidents.
+7 -5
View File
@@ -4,15 +4,17 @@ Small, practical Bash scripts for Linux operations checks and incident triage. T
## Scripts
- `healthcheck.sh` - general host health overview.
- `disk_check.sh` - filesystem usage threshold check.
- `service_check.sh` - critical service status check.
- `system_report.sh` - writes a timestamped system report to `/tmp`.
- `network_troubleshoot.sh` - local and optional remote network diagnostics.
- `os-healthcheck/healthcheck.sh` - general host health overview.
- `os-healthcheck/disk_check.sh` - filesystem usage threshold check.
- `os-healthcheck/service_check.sh` - critical service status check.
- `os-healthcheck/system_report.sh` - writes a timestamped system report to `/tmp`.
- `os-healthcheck/network_troubleshoot.sh` - local and optional remote network diagnostics.
## Usage
```bash
cd infra-run/scripts/bash/os-healthcheck
./healthcheck.sh
./disk_check.sh
./disk_check.sh 90