I just set up Uptime Kuma to monitor a few small VPSes I've got. It's running on a mini PC at home, with Telegram alerts, and it works great. But there's one thing I haven't figured out: if the monitoring instance itself goes down (the mini PC loses power, home internet drops), monitoring goes silent with it, which means no monitoring at all.
Options I've come up with so far:
- Get another VPS, install Kuma on it, and have the two monitor each other;
- Use the free UptimeRobot tier as a backup, only monitoring the most critical ones;
- Write a scheduled heartbeat script: the monitoring instance sends out a heartbeat periodically, and if it doesn't arrive before timeout, send an alert.
I'd like to ask how everyone handles fallbacks for their monitoring. Any simple and reliable recommendations? Thanks in advance.
刚搭了 Uptime Kuma 监控手头几台小鸡,跑在家里一台小主机上,配合 Telegram 推送告警,用着挺顺手。但有个问题一直没想好:要是监控端本身挂了(小主机断电、家里断网),监控就跟着一起哑了,等于没有监控。
目前想到的办法:
- 再找一台小鸡装个 Kuma,两个互相监控对方;
- 用 UptimeRobot 免费版做备援,只监控最关键的几台;
- 写个定时心跳脚本,监控端定期向外发心跳,超时没收到就告警。
想问问大家都是怎么给监控兜底的?有没有简单靠谱的方案推荐?先谢谢各位。
Translated by AI from 简体中文Original (简体中文)
1
4
心跳检测是成本最低的方法了吧
4 replies
Sort order