Site Health Monitor
/install site-health-monitor
Site Health Monitor
Monitor one or more websites for health issues. Detect downtime, expiring SSL certs, slow responses, and content changes — then report or alert.
Quick Check (Single URL)
When user asks to check a single URL right now:
- Run
scripts/check_site.sh \x3Curl> - Parse the JSON output
- Present a formatted health report
Monitored Sites Config
For ongoing monitoring, maintain a config at user's chosen location (default: ~/.openclaw/workspace/site-monitor.json):
{
"sites": [
{
"url": "https://example.com",
"name": "Main Site",
"checks": ["uptime", "ssl", "response_time", "content"],
"alert_threshold_ms": 3000,
"ssl_warn_days": 14,
"content_selector": "title"
}
],
"defaults": {
"checks": ["uptime", "ssl", "response_time"],
"alert_threshold_ms": 5000,
"ssl_warn_days": 30
}
}
Health Checks
1. Uptime
- HTTP GET to URL
- Pass: 2xx/3xx status
- Warning: 4xx status
- Fail: 5xx, connection refused, timeout (>10s)
2. SSL Certificate
- Run
scripts/check_ssl.sh \x3Cdomain> - Pass: Valid, >30 days to expiry
- Warning: \x3C30 days to expiry (configurable)
- Fail: Expired, self-signed, or missing
3. Response Time
- Measure TTFB + transfer via
scripts/check_site.sh - Pass: Under threshold (default 5000ms)
- Warning: 1-2x threshold
- Fail: >2x threshold or timeout
4. Content Changes (Planned)
- Fetch page, extract text, hash it
- Compare against stored hash
- Report if content changed since last check
- Note: This feature is planned for v1.1
Reports
Single Site
## 🟢 example.com — Healthy
| Check | Status | Detail |
|---------------|--------|---------------------------|
| Uptime | ✅ UP | 200 OK (143ms) |
| SSL | ✅ OK | Expires in 87 days |
| Response Time | ✅ OK | 342ms (threshold: 5000ms) |
| Content | — Same | No changes detected |
Multi-Site Summary
## Site Health — 2026-03-26
| Site | Status | Issues |
|------------|--------|----------------|
| example.com| 🟢 OK | — |
| api.foo.io | 🟡 WARN| SSL: 12 days |
| shop.bar | 🔴 DOWN| 503 error |
Alerts
Alert when: site DOWN, SSL within warning window, response >2x threshold, 2+ consecutive failures.
Format: ⚠️ [site] — [issue]. [detail]. Checked at [time].
Scheduled Monitoring
Suggest cron job for recurring checks (30-60 min interval for production). Store last 100 results per site in ~/.openclaw/workspace/.site-monitor-history.json.
Scripts
scripts/check_site.sh \x3Curl>— HTTP health check, outputs JSON (status, timing, headers)scripts/check_ssl.sh \x3Cdomain>— SSL cert check, outputs JSON (issuer, expiry, days remaining)
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install site-health-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/site-health-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Site Health Monitor 是什么?
Monitor websites for uptime, SSL certificate expiry, response time, HTTP errors, and content changes. Generate health reports and send alerts when issues are... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。
如何安装 Site Health Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install site-health-monitor」即可一键安装,无需额外配置。
Site Health Monitor 是免费的吗?
是的,Site Health Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Site Health Monitor 支持哪些平台?
Site Health Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Site Health Monitor?
由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。