ssh_snapshot
Get a machine's live status: CPU, memory, disk, containers, listening ports, services, and recent errors in one SSH round trip. Unavailable metrics return null, not misleading zeros.
Instructions
Reports how a machine is doing right now: cpu, memory, disk, containers, listening ports, services and recent errors, in one round trip. Whatever could not be measured comes back null and marked unavailable, never as a zero that reads like an idle machine. For how the machine is set up rather than how it is running, use ssh_audit_baseline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Machine name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| load | No | ||
| ports | No | ||
| cpu_pct | No | ||
| mem_pct | No | ||
| disk_pct | No | ||
| services | No | ||
| listening | No | ||
| containers | No | ||
| error_lines | No | ||
| unavailable | No | ||
| recent_errors | No | ||
| services_running | No | ||
| containers_running | No |