Update docs for os-healthcheck toolkit layout
This commit is contained in:
+6
-2
@@ -8,7 +8,7 @@
|
|||||||
- `infra-run`
|
- `infra-run`
|
||||||
- `platform-projects`
|
- `platform-projects`
|
||||||
- `labs`
|
- `labs`
|
||||||
- Linux operations Bash toolkit:
|
- Linux operations Bash toolkit under `infra-run/scripts/bash/os-healthcheck/`:
|
||||||
- healthcheck
|
- healthcheck
|
||||||
- disk usage checks
|
- disk usage checks
|
||||||
- service checks
|
- service checks
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
- large files detection
|
- large files detection
|
||||||
- deleted open files detection
|
- deleted open files detection
|
||||||
- safe cleanup suggestions
|
- safe cleanup suggestions
|
||||||
- Network troubleshooting script:
|
- Network troubleshooting script under `infra-run/scripts/bash/os-healthcheck/`:
|
||||||
- interface, routing, DNS, connectivity checks
|
- interface, routing, DNS, connectivity checks
|
||||||
- Veritas storage toolkit:
|
- Veritas storage toolkit:
|
||||||
- VxVM disk detection
|
- VxVM disk detection
|
||||||
@@ -32,6 +32,10 @@
|
|||||||
- rebalance
|
- rebalance
|
||||||
- Runbook-style structure and step-based execution.
|
- 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
|
### Notes
|
||||||
|
|
||||||
- All scripts default to dry-run where change actions are present.
|
- All scripts default to dry-run where change actions are present.
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ This repository demonstrates real-world Linux infrastructure and operations expe
|
|||||||
|
|
||||||
### Linux Operations Toolkit
|
### 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
|
### Disk Full Incident Toolkit
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Production-style disk full incident workflow covering filesystem usage, inode pr
|
|||||||
|
|
||||||
### Network Troubleshooting
|
### 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.
|
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.
|
||||||
|
|
||||||
|
|||||||
@@ -4,15 +4,17 @@ Small, practical Bash scripts for Linux operations checks and incident triage. T
|
|||||||
|
|
||||||
## Scripts
|
## Scripts
|
||||||
|
|
||||||
- `healthcheck.sh` - general host health overview.
|
- `os-healthcheck/healthcheck.sh` - general host health overview.
|
||||||
- `disk_check.sh` - filesystem usage threshold check.
|
- `os-healthcheck/disk_check.sh` - filesystem usage threshold check.
|
||||||
- `service_check.sh` - critical service status check.
|
- `os-healthcheck/service_check.sh` - critical service status check.
|
||||||
- `system_report.sh` - writes a timestamped system report to `/tmp`.
|
- `os-healthcheck/system_report.sh` - writes a timestamped system report to `/tmp`.
|
||||||
- `network_troubleshoot.sh` - local and optional remote network diagnostics.
|
- `os-healthcheck/network_troubleshoot.sh` - local and optional remote network diagnostics.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
cd infra-run/scripts/bash/os-healthcheck
|
||||||
|
|
||||||
./healthcheck.sh
|
./healthcheck.sh
|
||||||
./disk_check.sh
|
./disk_check.sh
|
||||||
./disk_check.sh 90
|
./disk_check.sh 90
|
||||||
|
|||||||
Reference in New Issue
Block a user