SmartPing:一个服务器Ping值监测工具,带报警功能

说明:之前博主发过一个雨落大神写的Ping值监测工具uPing,不过有点单一,也缺少Web界面,今天再分享个SmartPing工具,可以同时Ping多个IP,支持正向Ping绘制,反向Ping绘制,互Ping拓扑绘制及报警功能。支持自定义延迟、丢包阈值报警。

截图

SmartPing:一个服务器Ping值监测工具,带报警功能
SmartPing:一个服务器Ping值监测工具,带报警功能

安装

Github地址:https://github.com/gy-games/smartping

运行命令:

mkdir smartping && cd smartping
#请去https://github.com/gy-games/smartping/releases下载最新版本的smartping
wget https://github.com/gy-games/smartping/releases/download/v0.5.0/smartping-v0.5.0.tar.gz
tar zxvf smartping-v0.5.0.tar.gz
./control start

然后可以使用ip:8899打开Web界面查看了,管理界面默认密码为smartping,若需要修改请修改conf/config.jsonconf/config-base.json

#如果你是CentOS系统,且打不开Web页面的,则需要开启防火墙端口
#Centos 6系统
iptables -I INPUT -p tcp --dport 8899 -j ACCEPT
service iptables save
service iptables restart

#CentOS 7系统
firewall-cmd --zone=public --add-port=8899/tcp --permanent 
firewall-cmd --reload

相关命令

./control build|run|start|stop|restart|status

build   : 源码编译,最终构建成至 bin
run     : 直接启动smartping
start   : 以nohup(deamon)形式启动smartping
stop    : 关闭smartping
restart : 执行 stop & start
status  : 查看smartping的运行状态
version : 查看当前smartping版本
pack    : 执行Build并进行二进制包制作

总结



给TA打赏
共{{data.count}}人
人已打赏
cj

Debian 9/Ubuntu 17+添加rc.local开机自启的方法

2019-11-28 3:05:00

cj

使用AVS搭建我们的视频/照片/游戏分享平台

2019-11-28 7:23:28

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索