目标: 简单、高效地监控服务是否 200 OK ,并记录响应延时用于后续分析。 核心功能: 定时巡检:Crontab 定时运行 Bash 脚本。 日志记录到 log.txt: [2025-08-26 17:25:42] duration_ms=721 uri=https://b.cornradio.org/ is_200=true [2025-08-26 17:26:36] duration_ms=782 uri=https://b.cornradio.org/ is_200=true
可视化分析: 带了一个 index.html ,导入 log.txt 即可在浏览器看延时趋势图和状态统计。 项目地址。https://github.com/cornradio/req-time-loger