返回顶部
u

uptimecheck

Check if URLs and API endpoints are up or down with response times and status codes. Use when asked to monitor uptime, check if a website is down, measure HTTP response times, track endpoint health over time, or verify that services are responding. Supports batch checking from files, history tracking with JSONL storage, and configurable timeouts. Zero dependencies — pure Python stdlib.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
72
下载量
0
收藏
概述
安装方式
版本历史

uptimecheck

# uptimecheck ✅ Lightweight URL uptime monitor with response time measurement and history tracking. ## Commands ### Check endpoints ```bash # Check one or more URLs python3 scripts/uptimecheck.py check https://github.com https://api.example.com # Check from a file (one URL per line, # comments supported) python3 scripts/uptimecheck.py check -f urls.txt # Save results to history for trend analysis python3 scripts/uptimecheck.py check https://myapi.com --save # Custom timeout (default 10s) python3 scripts/uptimecheck.py check https://slow-api.com -t 30 ``` ### View history ```bash # Recent checks python3 scripts/uptimecheck.py history # Filter by URL python3 scripts/uptimecheck.py history --url github.com # Last N entries python3 scripts/uptimecheck.py history -n 100 ``` ## Output - ✅ for 2xx-4xx responses (client errors count as "up") - ❌ for 5xx, timeouts, DNS failures, connection refused - Response time in milliseconds - Summary with count of down endpoints ## History Storage Results saved to `~/.uptimecheck/checks.jsonl` — one JSON object per line with url, status, ms, ok, timestamp. ## Exit Codes - 0: All endpoints responding - 1: One or more endpoints down (useful for CI/cron alerting)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 uptimecheck-1775973622 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 uptimecheck-1775973622 技能

通过命令行安装

skillhub install uptimecheck-1775973622

下载 Zip 包

⬇ 下载 uptimecheck v1.0.0

文件大小: 4.52 KB | 发布时间: 2026-4-13 12:26

v1.0.0 最新 2026-4-13 12:26
Initial release of uptimecheck: simple, dependency-free uptime monitoring for URLs and APIs.

- Check if one or multiple URLs/endpoints are up, with response time and HTTP status.
- Supports batch checking from files, with comment lines.
- History and trend tracking: save results as JSON lines for later review.
- View history with filters (by URL, recent N entries).
- Configurable HTTP timeout.
- Intuitive output with clear ✅/❌ indicators, response times, and summary.
- Exit codes for easy integration with CI or scripts.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部