闲社服务运行正常AI智能体自动化平台
u

在线状态检查器

技能标识:uptime-checker

Lightweight URL uptime checker and response time monitor. Check if websites and APIs are up, measure response times, track history, and detect SSL issues. Use when checking if a site is down, monitoring API endpoints, measuring response times, checking SSL certificates, or building uptime reports. Triggers on "is this site up", "check uptime", "website down", "response time", "monitor URL", "endpoint health check", "site status".

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

在线状态检查器

技能名称:uptime-checker

详细描述:

运行时间检查器

零依赖的URL运行时间检查器,支持响应时间监控、历史记录追踪和多URL检测。

快速开始

bash

检查单个URL


python3 scripts/uptime_check.py https://example.com

检查多个URL

python3 scripts/uptime_check.py https://api.example.com https://example.com https://status.example.com

脚本化JSON输出

python3 scripts/uptime_check.py https://example.com --format json

自定义预期状态码检查

python3 scripts/uptime_check.py https://example.com/old-page --expected-status 301

从文件加载URL

python3 scripts/uptime_check.py --urls-file urls.txt

保存结果并查看历史记录

python3 scripts/uptime_check.py https://example.com --save --history-file checks.json python3 scripts/uptime_check.py --history --history-file checks.json

跳过SSL验证(自签名证书)

python3 scripts/uptime_check.py https://internal.example.com --no-verify-ssl

自定义超时和请求方法

python3 scripts/uptime_check.py https://example.com --timeout 5 --method HEAD

添加自定义请求头(认证等)

python3 scripts/uptime_check.py https://api.example.com --header Authorization:Bearer token123

功能特性

  • - 单条命令检查单个或多个URL
  • 毫秒级响应时间测量
  • SSL证书验证
  • 重定向检测与追踪
  • 历史记录追踪及运行时间百分比汇总
  • 可配置的预期HTTP状态码
  • 自定义请求头、方法和超时设置
  • JSON和文本两种输出格式
  • 任意端点宕机时返回退出码1(适用于脚本/cron任务)
  • 无外部依赖——纯Python标准库实现

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 uptime-checker-1776093311 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 uptime-checker-1776093311 技能

通过命令行安装

skillhub install uptime-checker-1776093311

下载

⬇ 下载 uptime-checker v1.0.0(免费)

文件大小: 4.73 KB | 发布时间: 2026-4-15 14:48

v1.0.0 最新 2026-4-15 14:48
Initial release of uptime-checker.

- Lightweight tool for checking URL uptime and measuring response times.
- Supports monitoring multiple URLs and tracking history.
- Detects SSL certificate issues and HTTP redirects.
- Flexible options for expected status codes, request methods, headers, and timeouts.
- Provides JSON and text outputs for easy integration with scripts and reports.
- No external dependencies; uses only Python standard library.
返回顶部