wweng 大佬有话说 : 2020-3-20 19:26:02
【3.22更新】又是一个云探针
本帖最后由 wweng 于 2020-3-22 18:41 编辑
建了个群,安装指导、问题反馈什么的也可以群里找我。562963675
3.22 再次更新
服务端网页支持同时显示总流量和实时网速
客户端修复windows下网速为零的bug,并支持更低的nodejs版本(8.0+)
新的windows客户端下载地址:https://github.com/xytoki/xyStatus-client/releases
服务端更新方式:
npm i @xytoki/xystatus-server@latest -g
xystat-run
3.21更个新,
1.网速已经改为实时网速,需要更新客户端。
更新方式:npm i @xytoki/xystatus@latest -g
然后重新 xysc-run 【连接地址】【秒数】安装服务
2.Windows客户端一键包
http://xia.st/c/Release/xystatus-client-win32/xystatus-client-v1.1.1-win32.7z
解压,编辑run.bat,把里面的连接地址和时间替换成自己的,保存双击。
也可根据自己需求安装服务。
预览:
https://uptime.su
多分类例子: https://uptime.su/?n=fanche
开源:
https://github.com/xytoki/xyStatus
优点:
1.采用websocket,能做到实时更新(只要探针的同步周期设得够短就是实时)
2.也是采用websocket,不需要占用额外tcp端口,可以过nginx反代
3.界面基于vue+element-ui,(也许)(比较)好看
4.支持分类(namespace)
安装教程
1.安装nodejs:
#centos
curl -sL https://rpm.nodesource.com/setup_12.x | bash –
#debian/ubuntu
curl -sL https://deb.nodesource.com/setup_12.x | bash –
2.编辑配置
nano /etc/xystatus.json
{
"servers":{
"username":"password"
},
"namespaces":{
"default":{
"title":"su -c uptime",
"items":[
{
"mode":"server",
"id":"username",
"name":"翻车30nat",
"location":"G0FU 江西",
"type":"nat",
"region":"CN"
}
]
}
}
}
4.启动服务端
npm i @xytoki/xystatus-server -g
xystat-run
https://i.loli.net/2020/03/20/21xlhC83OfgBYzV.png
5.安装客户端
(先按第一步装nodejs)
npm i @xytoki/xystatus-client -g
xysc-run http://username:password@ip:9725 10
#(10是更新秒数)
6.访问
http://<ip>:9725
可以nginx反代,记得反代的时候允许websocket。
如果反代到https://domain
客户端启动要写成 xysc-run https://username:password@domain 10
7.一键脚本在做了。客户端已经是接近一键了,服务端的一键很快就来
最后:
感谢云喇叭大佬送我鸡开demo:lol
mubaizi 大佬有话说 : 2020-3-20 19:29:31
ui有点丑 如图所示
https://s1.ax1x.com/2020/03/20/82SYa8.png
∮⊱⊱⊱ 明明只是活着,哀伤却无处不在… ⊰⊰⊰∮
Stillso 大佬有话说 : 2020-3-20 23:24:50
老板 phptz.com需要吗?
silence 大佬有话说 : 2020-3-20 19:29:58
翻车g0fu瞩目:lol
派生小白 大佬有话说 : 2020-3-20 19:28:19
占楼正好想装个探针 坐等大佬的教程
h20 大佬有话说 : 2020-3-20 19:28:33
云喇叭大佬
work 大佬有话说 : 2020-3-20 19:28:43
感谢分享 前排
hasamol7468 大佬有话说 : 2020-3-20 19:29:55
支持开源感谢分享
飞翔的虫子 大佬有话说 : 2020-3-20 19:31:50
雨巷 大佬有话说 : 2020-3-20 19:31:51
前排支持大佬
话说可以支持docker安装吗
dazeng 大佬有话说 : 2020-3-20 19:36:40
全球探针交流论坛,呵呵~~