Uptime Monitor Agent
by @kryzl19
Monitor uptime of websites/services and alert when down. Use when checking if a website is reachable, monitoring service health, or getting alerted on downtime.
clawhub install uptime-monitor-agentπ About This Skill
name: uptime-monitor description: Monitor uptime of websites/services and alert when down. Use when checking if a website is reachable, monitoring service health, or getting alerted on downtime. metadata: { "openclaw": { "requires": { "bins": ["curl"] }, "install": [], }, }
Uptime Monitor
Monitor HTTP endpoints and alert when services go down.
Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| MONITOR_URLS | Yes | β | Comma-separated list of URLs to monitor |
| ALERT_WEBHOOK_URL | No | β | Webhook URL to send alerts (Discord, Slack, etc.) |
| CHECK_INTERVAL | No | 60 | Interval in seconds between checks |
| ALERT_EMAIL | No | β | Email address for alert notifications |
Scripts
check.sh β HTTP Health Check
Performs HTTP check with response time measurement.
./scripts/check.sh
Output:
OK|https://example.com|200|245ms
FAIL|https://example.com|000|timeout
Exit code: 0 = up, 1 = down
alert.sh β Send Alert
Sends alert via webhook or email when a service is down.
./scripts/alert.sh
report.sh β Uptime Report
Generates a daily uptime summary from the log file.
./scripts/report.sh
Output: Markdown-formatted report with uptime % per URL.
Usage Example
export MONITOR_URLS="https://example.com,https://api.example.com"
export ALERT_WEBHOOK_URL="https://discord.com/api/webhooks/..."
export CHECK_INTERVAL=60Run a single check
./scripts/check.sh https://example.comGenerate report
./scripts/report.sh
Notes
curl with a 10-second timeout for checks~/.openclaw/workspace/skills/uptime-monitor/logs/status.logπ Tips & Best Practices
curl with a 10-second timeout for checks~/.openclaw/workspace/skills/uptime-monitor/logs/status.log