Gateway Monitor Auto Restart
/install gateway-monitor-auto-restart
Gateway Monitor Auto-Restart Skill
Automatically monitors the OpenClaw gateway status and restarts it if it becomes unresponsive. Features 3-hour checks, smart restart logic, issue diagnosis, and 7-day log rotation.
Description
This skill provides comprehensive monitoring for the OpenClaw gateway with automatic restart capabilities. It includes:
- Health checks every 3 hours
- Smart restart mechanism when gateway is down
- Issue diagnosis when startup fails
- 7-day log rotation system
- Fast recovery system that prioritizes quick gateway restart
Features
- Automatic Monitoring: Checks gateway status every 3 hours
- Smart Restart: Restarts gateway when it becomes unresponsive
- Issue Diagnosis: Identifies and reports startup issues
- Fast Recovery: Prioritizes quick gateway restart
- Log Management: Maintains logs with 7-day rotation
- Error Handling: Gracefully handles "already running" errors
Usage
The skill automatically sets up a cron job that runs the monitoring script every 3 hours. The monitoring system will:
- Check if the gateway is responsive
- If unresponsive, attempt to restart it
- If restart fails, diagnose the issue
- Log all activities with timestamp
- Rotate logs older than 7 days
Requirements
- OpenClaw gateway installed and configured
- Proper permissions to manage gateway service
- Cron access for scheduling checks
Configuration
No additional configuration required. The skill automatically installs the monitoring system with optimal settings.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gateway-monitor-auto-restart - 安装完成后,直接呼叫该 Skill 的名称或使用
/gateway-monitor-auto-restart触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Gateway Monitor Auto Restart 是什么?
Monitors OpenClaw gateway every 3 hours, auto-restarts if unresponsive, diagnoses startup issues, and rotates logs with 7-day retention. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1798 次。
如何安装 Gateway Monitor Auto Restart?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gateway-monitor-auto-restart」即可一键安装,无需额外配置。
Gateway Monitor Auto Restart 是免费的吗?
是的,Gateway Monitor Auto Restart 完全免费(开源免费),可自由下载、安装和使用。
Gateway Monitor Auto Restart 支持哪些平台?
Gateway Monitor Auto Restart 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gateway Monitor Auto Restart?
由 shirley6692026(@shirley6692026)开发并维护,当前版本 v1.0.1。