Health Checks
健康检查
健康检查的目标是把“感觉像坏了”拆成可验证的步骤。你需要分清楚本地状态摘要、深度探测、Gateway 健康快照和渠道会话状态,分别由哪些命令负责。
四个层级的检查
本地摘要
openclaw status
openclaw status --all 深度探测
openclaw status --deep Gateway 健康快照
openclaw health --json 直接在聊天中检查
/status 出故障时优先看什么
WhatsApp / WebChat 没消息时,先看 creds 文件最近修改时间和渠道状态,而不是先怀疑模型。
Gateway 不可达时,先用 openclaw gateway --port 18789 --force 或服务命令把进程拉起来,再继续看健康探测。
health --json 不会直接去访问 Baileys 等底层 socket,它是通过运行中的 Gateway 汇总出来的健康视图。