惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
D
Docker
Vercel News
Vercel News
IT之家
IT之家
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
腾讯CDC
Google DeepMind News
Google DeepMind News
I
InfoQ
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
The GitHub Blog
The GitHub Blog
博客园 - Franky
The Cloudflare Blog
A
About on SuperTechFans
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
T
Tenable Blog
P
Proofpoint News Feed
Recorded Future
Recorded Future
Security Latest
Security Latest
H
Hackread – Cybersecurity News, Data Breaches, AI and More
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 聂微东
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Google Online Security Blog
Google Online Security Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Simon Willison's Weblog
Simon Willison's Weblog
The Last Watchdog
The Last Watchdog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
U
Unit 42
The Hacker News
The Hacker News
Martin Fowler
Martin Fowler
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
F
Full Disclosure
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
Project Zero
Project Zero

Rat's Blog - ping

一个基于Python3的VPS服务器在线监控脚本 - Rat's Blog uPing:一个简单的服务器Ping值监测小工具 - Rat's Blog mPing:一键测试服务器回程ping脚本 - Rat's Blog
SmartPing:一个服务器Ping值监测工具,带报警功能 - Rat's Blog
博主: Rat's · 2018-08-29 · via Rat's Blog - ping

说明:之前博主发过一个雨落大神写的Ping值监测工具uPing,不过有点单一,也缺少Web界面,今天再分享个SmartPing工具,可以同时Ping多个IP,支持正向Ping绘制,反向Ping绘制,互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并进行二进制包制作

总结

一般我们可以在搭建网站的服务器上安装,然后添加全国各个地区的IP进行监测,如果你找不到很全的IP来源,可以去ipip上找,地址:https://tools.ipip.net/ping.php,先进去ping一下,然后可以看到各个地区的IP地址了,之后就可以很清楚看到网络情况了。


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/710/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。