Run Diagnostics
clawops_doctorDiagnose OpenClaw gateway problems with local and remote checks of runtime, config, credentials, and health. Run before deploying, upgrading, or troubleshooting.
Instructions
Run clawops's diagnostics and return the report: Node and Pulumi runtime, config, SSH key and known_hosts, cloud credentials per configured provider, and the supported OpenClaw range. With stackName, also contacts the host for container state, the deployed OpenClaw version, a real gateway health probe, whether the port is published to the internet, disk usage on the state directory, log rotation, and hardening drift.
Use when: something is not working and you do not yet know what; before any deploy, upgrade or migration; or to find out which OpenClaw version a gateway is actually running.
Do NOT use when: you already know the problem and want to fix it. This tool only
reports — it changes nothing, and never runs openclaw doctor --fix. No tool
repairs a gateway: clawops gateway update is CLI-only, so tell the user to run
it themselves, after clawops backup create.
Every check carries a status: fail (something is wrong that clawops can name),
warn (worth knowing, not broken), info (did not apply). ok is false only when
something failed — a fresh machine with no stacks is full of warnings and healthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stackName | No | Stack to include remote checks for. Without it, only the local machine is checked — no SSH connection is made. | |
| failuresOnly | No | Return only failing and warning checks. Passing checks are counted, not listed. |