← 返回
未分类 中文

Status Page Gen

Generate a dark-theme static HTML status page with health checks, ping, SSL cert validation, and uptime history for self-hosted services.
生成深色主题的静态HTML状态页面,包含健康检查、ping、SSL证书验证及自托管服务的运行时间历史。
newageinvestments25-byte newageinvestments25-byte 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 354
下载
💾 0
安装
1
版本
#latest

概述

status-page-gen

Generate a static HTML status page for all your self-hosted services.

Skill Location

~/.openclaw/workspace/skills/status-page-gen/

Quick Start

1. Configure services

Copy the example config and edit it:

cp ~/.openclaw/workspace/skills/status-page-gen/assets/services.example.json \
   ~/.openclaw/workspace/skills/status-page-gen/assets/services.json

Edit services.json with your actual service names, URLs, and health endpoints.

2. Run a full check and generate the page

cd ~/.openclaw/workspace/skills/status-page-gen

python3 scripts/check_services.py --config assets/services.json --output /tmp/status_check.json
python3 scripts/check_certs.py --config assets/services.json --output /tmp/cert_check.json
python3 scripts/history.py --append /tmp/status_check.json --db assets/history.json
python3 scripts/generate_page.py \
  --services /tmp/status_check.json \
  --certs /tmp/cert_check.json \
  --history assets/history.json \
  --output ~/status.html

Open ~/status.html in a browser.

3. Schedule updates (cron)

Add to crontab (crontab -e):

*/5 * * * * cd ~/.openclaw/workspace/skills/status-page-gen && \
  python3 scripts/check_services.py --config assets/services.json --output /tmp/status_check.json && \
  python3 scripts/check_certs.py --config assets/services.json --output /tmp/cert_check.json && \
  python3 scripts/history.py --append /tmp/status_check.json --db assets/history.json && \
  python3 scripts/generate_page.py --services /tmp/status_check.json --certs /tmp/cert_check.json --history assets/history.json --output ~/status.html

Scripts

ScriptPurpose
------
check_services.pyHTTP health checks + ping + response time
check_certs.pySSL certificate expiry validation
history.pyAppend results to log, compute uptime %
generate_page.pyRender self-contained HTML status page

Config Format (services.json)

See assets/services.example.json for a full example. Each service entry:

{
  "name": "Grafana",
  "url": "https://grafana.example.com",
  "health_endpoint": "/api/health",
  "expected_status": 200,
  "ping_host": "grafana.example.com",
  "tags": ["monitoring"]
}
  • health_endpoint — path appended to url for health check (default: /)
  • expected_status — HTTP status code to consider "up" (default: 200)
  • ping_host — hostname for ICMP ping (optional, derived from url if omitted)

References

See references/setup-guide.md for detailed configuration, GitHub Gist publishing, and advanced scheduling.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 07:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,837
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,460
ai-agent

Workflow Crystallizer

newageinvestments25-byte
分析记忆日志,检测重复出现的模式,并建议自动化(cron 任务、技能或工作流快捷方式)。代理会逐步构建自己的快捷方式。
★ 0 📥 468