uptime-monitor
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.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- uptime-monitor
- metadata
- { "openclaw": { "install": [], "requires": { "bins": [ "curl" ] } } }
- 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.
03 SKILL.md 正文
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 <url>
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 <url> <status_code> <response_time> <error_message>
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=60
# Run a single check
./scripts/check.sh https://example.com
# Generate report
./scripts/report.sh
Notes
- Uses
curlwith a 10-second timeout for checks - Logs results to
~/.openclaw/workspace/skills/uptime-monitor/logs/status.log - Alert webhook expects a JSON payload (compatible with Discord/Slack/PagerDuty)
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.