ct_diagnose
Collects diagnostic evidence for an LXC container: reports API status, in-container health metrics (failed systemd units, disk, memory, ports, recent errors) and advisory flags. Read-only; requires container exec access for full results.
Instructions
READ-ONLY: gather 'what's broken' evidence for a container — API status + a fixed read-only in-container battery (failed units, disk, recent errors, memory, listening ports) + advisory flags.
No mutation, no confirm. Returns a dict with the gathered sections and a flags list. The in-container probes need PROXIMO_ENABLE_EXEC and the CTID allowlist (same as ct_logs); with exec off it returns the API-only part and discloses the skipped probes. For node-level evidence use pve_diagnose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctid | Yes | Numeric CTID of the LXC container to diagnose. | |
| kind | No | Guest type; only `lxc` is meaningful here since diagnostics are container-specific. | lxc |
| node | No | PVE node the container runs on. Omit to resolve it automatically from the cluster. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |