在平时使用服务器的过程中,总有一些挂针的需求,这里介绍几款监控的面板,有免费的服务也有需要自建的开源项目
监控服务
UptimeRobot
- 免费最多50个节点
- 不需要安装软件
- 免费仅有宕机监控
- 支持 http,tcp 等
NodeQuery
- 免费最多10个节点
- 需要在被监控节点安装软件
- 信息全面(网络,IO,进程,资源使用)
FreshPing
https://www.freshworks.com/website-monitoring/
- 免费最多50个节点
- 不需要安装软件
- 免费仅有宕机监控
- 支持 http,tcp 等
阿里云监控
https://www.aliyun.com/product/jiankong
- 免费最多10个节点
- 可选多机房监控
- 与阿里云服务无缝衔接
Wachete
- 可以监控指定网页内容的变动,如价格、是否有货等数据
Downtime Monkey
https://downtimemonkey.com/index.php
- 免费最多60个节点
- 只能监控http/https
自建面板
Serverstatus
Serverstatus的部署比较简单,有一键脚本也有docker镜像,这里来介绍docker的部署方式
https://github.com/cppla/ServerStatus
1 | # 服务端 |
1 | # 客户端 (这里使用了 nohup 来保证程序持续在后台运行,如果想要结束指定程序使用 jobs -i 命令,会显示出进程id,使用kill命令即可) |
更好看的Serverstatus面板主题 https://github.com/krwu/ServerStatus-web
Smokeping
https://hub.docker.com/r/linuxserver/smokeping
https://github.com/linuxserver/docker-smokeping
Smokeping 的手动安装方式比较复杂,建议选择docker方式部署,但是无法完美支持 master/slave
架构
1 | docker run \ |
Docker安装方式需要通过修改/data/smokeping/config/Targets
然后重启容器来添加监控节点
Smartping
官方提供编译好的二进制文件,可以直接运行,并且支持正向PING与反向Ping绘图
https://smartping.org/
https://docs.smartping.org/install/
https://github.com/smartping/smartping
Torch-Web
https://github.com/TorchPing/Torch-Web
https://github.com/TorchPing/Torch
https://github.com/TorchPing