• 支持 ICMP 与 TCP 双协议探测,覆盖延迟、丢包、可达性与服务状态判断,适合持续观测链路质量与服务健康
• 提供类似 SmokePing 的分位数延迟图、历史趋势与事件追踪,便于识别抖动、劣化和恢复过程
• 面向大规模目标设计,支持批量探测、队列调度、CSV 导入、公开监控面板与管理员健康检查
https://github.com/samleong123/pingglass
- ❤️1
.tpm i kitt.kitt add 自动延迟删除消息
return ['-1001771725356'].includes(msg.chatId.toString()) && ['/report'].includes(msg.text)
setTimeout(async () => { try { await msg.delete() } catch (e) {}; }, 15 * 1000);-1001771725356 的对话中延迟 15 秒删除 /reporttitle 或者 username, 类似这样: [`折腾啥`].includes(msg.chat.title) [`zhetengsha_group`].includes(msg.chat.username) .entity 命令function operator(proxies) {
const withLatency = proxies.filter(p => p._latency !== undefined)
const withoutLatency = proxies.filter(p => p._latency === undefined)
withLatency.sort((a, b) => Number(a._latency) - Number(b._latency))
return [...withLatency, ...withoutLatency]
}
timeout 可适当调小, show_latency 节点名称加上延迟_latency 字段, 方便之后再处理
2.14.289HEAD 请求 10 次的延迟_monitors$server._monitors = [
{
name: 'Cloudflare',
url: 'http://cp.cloudflare.com/generate_204',
method: 'HEAD',
number: 3,
timeout: 2000,
},
{
name: 'Google',
url: 'http://www.google.com/generate_204',
method: 'HEAD',
number: 3,
timeout: 2000,
},
]
HTTP META 配合)timeout, concurrency 和 size 适当调节keep_incompatible 保留当前客户端不兼容的协议show_speed 显示速度. 默认不显示. 注: 即使不开启这个参数, 节点上也会添加一个 _speed 字段, 按速度倒序https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/speed.js#keep_incompatible=true&show_speed&size=10&timeout=10000&concurrency=1
2. Node.js 版(需要 HTTP META 配合)https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_speed.js#keep_incompatible=true&show_speed&size=10&timeout=10000&concurrency=1&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000HTTP META 配合)timeout 可适当调小, keep_incompatible 保留当前客户端不兼容的协议, show_latency 节点名称加上延迟url 需要 encodeURIComponent. 默认 http://connectivitycheck.platform.hicloud.com/generate_204status 合法的状态码的表达式. 需要 encodeURIComponent . 默认 204http://223.6.6.6 状态码 404: url=http%3A%2F%2F223.6.6.6&status=404节点操作 - 脚本操作 中 选择 链接https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/availability.js#show_latency=true&keep_incompatible=true&status=204&url=http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate_204&timeout=1000&retries=1&retry_delay=1000&concurrency=10
2. Node.js 版(需要 HTTP META 配合):https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_availability.js#show_latency=true&keep_incompatible=true&status=204&url=http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate_204&timeout=1000&retries=1&retry_delay=1000&concurrency=10&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000