/production-health

Checks the production server health and presents a structured summary.

Usage

/production-health

Parameters

None.

What It Does

Connects to the production server via SSH and gathers all metrics in a single call. Presents the results in a structured report.

Metrics Collected

Category Details
System Uptime, load averages, memory usage, disk usage
Docker Container CPU%, memory, status, restart info
Traffic HTTP status code distribution, bot breakdown, top 5 IPs (from last 5000 Nginx log lines)
Errors Recent TYPO3 container errors (fatal, OOM, kill) from the last 30 minutes

Health Assessment

The report includes an overall health assessment based on the server specs (16 vCPUs, 32 GB RAM, 640 GB disk):

Status Meaning
Healthy All metrics within normal range
Elevated load Some metrics above typical levels
Critical Immediate attention required

Notes

  • Requires SSH access to the production server (deploy@49.13.13.13)
  • All data is collected in a single SSH connection to minimize overhead