Gateway Monitor Auto Restart
by @shirley6692026
Monitors OpenClaw gateway every 3 hours, auto-restarts if unresponsive, diagnoses startup issues, and rotates logs with 7-day retention.
clawhub install gateway-monitor-auto-restartπ About This Skill
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:
Features
Usage
The skill automatically sets up a cron job that runs the monitoring script every 3 hours. The monitoring system will:
1. Check if the gateway is responsive 2. If unresponsive, attempt to restart it 3. If restart fails, diagnose the issue 4. Log all activities with timestamp 5. Rotate logs older than 7 days
Requirements
Configuration
No additional configuration required. The skill automatically installs the monitoring system with optimal settings.
π‘ Examples
The skill automatically sets up a cron job that runs the monitoring script every 3 hours. The monitoring system will:
1. Check if the gateway is responsive 2. If unresponsive, attempt to restart it 3. If restart fails, diagnose the issue 4. Log all activities with timestamp 5. Rotate logs older than 7 days
βοΈ Configuration
No additional configuration required. The skill automatically installs the monitoring system with optimal settings.