Files
portfolio/infra-run/scripts/bash/os-healthcheck/README.md
T
2026-05-06 06:46:27 +00:00

1.0 KiB

Linux Operations Healthcheck Toolkit

This directory contains first-pass Linux diagnostics for common host checks. The scripts focus on health visibility, disk usage, service status, network troubleshooting, and lightweight reporting without making system changes.

Diagram

flowchart TD
  A["os-healthcheck"]
  click A href "./" "os-healthcheck"

Scripts

  • healthcheck.sh - consolidated host overview.
  • disk_check.sh - threshold-based filesystem usage check.
  • service_check.sh - service state validation for critical daemons.
  • system_report.sh - timestamped report generation for quick evidence capture.
  • network_troubleshoot.sh - local network, DNS, route, and connectivity checks.

Usage

cd infra-run/scripts/bash/os-healthcheck

./healthcheck.sh
./disk_check.sh 90
./service_check.sh sshd nginx
./system_report.sh
./network_troubleshoot.sh 8.8.8.8

Notes

  • The toolkit is read-only and suited to initial triage.
  • It aligns with the portfolio pattern of quick pre-check and evidence collection steps.