Files
Mateusz Suski ca5a876d03
lint / shell-yaml-ansible (push) Failing after 21s
Improve infra-run portfolio credibility
2026-05-08 21:18:22 +00:00
..

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"] --> B["healthcheck.sh"]
  A --> C["disk_check.sh"]
  A --> D["service_check.sh"]
  A --> E["system_report.sh"]
  A --> F["network_troubleshoot.sh"]

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.