In OpenClaw, what does `openclaw channels status --probe` check that plain `channels status` does not, and when does it fall back?
answer
- live check versus stored state
- per-account provider calls
- probe and audit results
- unreachable Gateway means config only
- no --deep on channels status
basics
~20 sWith --probe, the Gateway runs each account's live provider probe and optional audit, reporting results such as works or probe failed; plain status reports runtime state only, and an unreachable Gateway falls back to config-only summaries.
solid answer
~40 s`openclaw channels status` asks the running Gateway for its `channels.status` snapshot: which accounts are configured, linked, running and their last error. Adding `--probe` makes the Gateway call each account's `probeAccount` and optional `auditAccount` checks against the provider, so the output gains results like `works`, `probe failed`, `audit ok` or `audit failed`. If the Gateway cannot be reached, the command falls back to **config-only summaries**, which prove nothing about connectivity; if the Gateway answers with an error, such as an unknown `--channel`, it exits nonzero instead. `channels status` has no `--deep`; the broader check is `openclaw status --deep`. Session lists are not a health signal: a quiet but connected account may have no session rows at all.
code
bash · 8 lines# Live check of one channel's accounts
openclaw channels status --channel telegram --probe
# Machine-readable output for a script
openclaw channels status --probe --json
# Broader probe of the whole install
openclaw status --deepgo deeper
Remember to run openclaw channels status --probe after adding any channel account, and read works or probe failed per account.
Explain the difference between the Gateway's recorded snapshot and a live probe, and recognise config-only output as the unreachable-Gateway fallback.
Diagnose with the right tool: probe results, blocked lifecycle from a failed plugin, degraded SecretRef notes, channel logs and doctor, without trusting session rows as health.
Decide what a team's health checks rely on: a scheduled probe catches revoked links and dead tokens early, while config-only output in monitoring would report healthy during an outage.
## What the command is for After linking a WhatsApp number, pasting a Telegram token or installing a Slack app, an operator needs to know whether the Gateway can actually use that account. `openclaw channels status` is the command for that, and `--probe` is the switch that turns it from a report into a test. ## Plain status: the Gateway's current picture Without flags, the CLI calls the Gateway's `channels.status` method and prints what the Gateway already knows about each configured account: - whether it is **configured**, **enabled**, **linked** (for device-linked channels) and **running**; - the last error or disconnect the runtime recorded; - channel-specific issues, such as WhatsApp's "Not linked" or "Session logged out" with a suggested fix. This is cheap and safe to run often, but it reflects state the runtime has recorded rather than a fresh round trip to the provider. ## With --probe: a live check per account `--probe` asks the Gateway to run each channel plugin's **probe** for every account, plus an optional **audit**: | Output | Meaning | |---|---| | `works` | The account's probe succeeded against the provider | | `probe failed` | The probe ran and failed, for example a rejected token | | `audit ok` / `audit failed` | The plugin's extra configuration audit passed or found a problem | Some channels add their own checks. For Telegram, `--probe` checks explicitly listed numeric group IDs (a `"*"` wildcard cannot be membership-probed) and warns when a polling account has not completed `getUpdates` after startup grace. The Signal and Telegram setup pages both end with this command for that reason. ## Fallbacks and failure modes The output is only as live as the path that produced it: 1. **Gateway unreachable.** The command prints **config-only summaries** instead of probe output. Seeing your accounts listed proves only that config parses. 2. **Gateway answers with an error.** An unknown `--channel`, for example, is reported and the command exits nonzero rather than pretending the Gateway is down. 3. **Gateway still starting.** The command waits within a readiness budget; if startup is still in progress, it returns a non-failing "starting" result (with `--json`, `{ "status": "starting", "startupPhase": ... }`). Rerun it. 4. **Plugin failed to load.** Affected accounts stay visible with `running: false`, `lifecycle: "blocked"` and the plugin error. Run `openclaw doctor`, repair the plugin and restart the Gateway. 5. **Secret unavailable to the CLI.** An account configured through a SecretRef the current shell cannot resolve is shown as configured with degraded notes, not as unconfigured. ## Reading a probe failure A failed probe names the account; the cause is usually one of a few channel-specific conditions: - **Telegram:** `getMe returned 401` means the configured bot token is wrong or was regenerated in BotFather; update `botToken`, `tokenFile` or the env fallback. - **WhatsApp:** "Not linked" or "Session logged out" means there is no valid linked-device session; run `openclaw channels login --channel whatsapp` on the Gateway host. - **Signal:** if the Gateway cannot reach `signal-cli`, check the daemon endpoint and restart the Gateway if you changed the service's `PATH` so it can find the binary. - **Any plugin channel:** a `blocked` lifecycle means the plugin itself failed to load, so no credential check ran at all. ## Neighbouring commands that look similar - `openclaw channels list --json` is a **local inventory** from plugin metadata; it never contacts the Gateway. - `openclaw channels capabilities` fetches provider capability hints, such as Discord intents or Slack bot and user scopes. - `openclaw status --deep` is the broad, top-level probe; `channels status` itself does **not** accept `--deep`. - `openclaw channels logs --channel <name>` tails the channel's log lines when the probe says something failed. - `openclaw sessions` and the agent's session tools report stored conversation rows. They are **not** a socket-health signal: a connected but quiet account can have no session rows until the next message. ## How to use it in practice - After any credential change, run `openclaw channels status --probe` before testing by hand. - Read a config-only result as "the Gateway was not reachable", not as success. - When a probe fails, move to `openclaw channels logs`, `openclaw doctor` and the channel's troubleshooting page, in that order.
- A teammate says the Discord bot must be down because `openclaw sessions` shows no Discord session after a restart. Are they right?Not necessarily. Session lists report stored conversation rows, not provider runtime state. After a Discord provider restart a connected but quiet account may have no session row until the next inbound or outbound message. Check `openclaw channels status --channel discord --probe` instead.
- What does it mean when `openclaw channels status --probe` lists every account but shows no probe results?The Gateway was most likely unreachable, so the command fell back to config-only summaries built from `openclaw.json`. That confirms the config parses, not that any account is connected. Start or fix the Gateway and rerun the probe.
- Seeing every account listed in channels status means every channel is connected.
- openclaw channels status --deep is the thorough version of the channel check.
- No session rows for a channel proves its socket is disconnected.
- channels list --json asks the Gateway which accounts are live.
- Plain channels status already makes a fresh call to every provider.