← 返回
未分类 中文

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 HT...
检查 URL 和 API 端点的可用状态、响应时间和状态码。适用于监控上线时间、检查网站是否宕机、测量 HTTP 响应时间等场景。
rogue-agent1 rogue-agent1 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 379
下载
💾 1
安装
1
版本
#latest

概述

uptimecheck ✅

Lightweight URL uptime monitor with response time measurement and history tracking.

Commands

Check endpoints

# 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

# 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)

版本历史

共 1 个版本

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

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

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

Git Changelog Generator

rogue-agent1
{"answer":"从Git提交生成更新日志,支持Markdown、纯文本及JSON输出,可按日期范围与标签过滤。"}
★ 0 📥 1,788
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,767