cokemine / serverstatus-hotaru Goto Github PK
View Code? Open in Web Editor NEW云探针、多服务器探针、云监控、多服务器云监控
License: MIT License
云探针、多服务器探针、云监控、多服务器云监控
License: MIT License
系统版本: Debian 10.5
使用的是最新的服务端版本,服务端经常莫名其妙的关闭。
gcc -c -Iinclude -Wall -O2 src/system.c -o obj/system.o
In file included from /usr/include/sys/socket.h:39:0,
from src/system.c:19:
/usr/include/bits/socket.h:346:24: 致命错误:asm/socket.h:没有那个文件或目录
#include <asm/socket.h>
^
编译中断。
make: *** [obj/system.o] 错误 1
[错误] ServerStatus 服务端编译失败 !
如果我在ubuntu和centos还有Debian安装之后,脚本是否支持服务器重启之后自动运行,还是需要用户手动配置?那么需要手动配置的话,是需要运行您哪个脚本?
前几天我在服务端上删除两个节点信息后,打开网站发现节点信息全变红也就是全显示维护中,多次重启服务端和客户端,甚至重装了服务端和客户端再次添加节点后仍显示维护中
//serverstatus_tw.js
TableRow.children["memory"].children[0].children[0].className = "progress-bar progress-bar-warning"; // 此处没有效果
似乎显示的css是
progress-bar {
background: linear-gradient(to right, #44ce78 0%,#43ce9f 100%)!important; //main.css - 3785
}
.progress-bar-warning {
background-color: #f0ad4e; //Coce.css - 5758 ,虽然有定义,但是无法显示效果
}
使用docker-compose快速拉起服务端(包括前端),以及拉起(心跳客户端)无论是从环境隔离上还是快速部署上考虑都是比较好的解决方案。
编译vnStat失败,请手动安装vnStat
出现这种情况,不知道是什么原因。
在AWS上新开了个c4g时发现的,处理器类型显示为[aarch64],实际上就是ARM64,
对应https://github.com/caddyserver/caddy/releases/download/v1.0.4/caddy_v1.0.4_linux_arm64.tar.gz
我看您代码里把解压步骤省略,指向了已经解压好的仓库,所以就不fork了
试了新版本的客户端vnStart
不知道是我安装失败还是什么
重启后依旧是会流量清零
当我从本地html上传到服务器出现了错误
Refused to apply style from 'http://networkstatus.ml/css/global.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
请问一下如何修改间距。
服务器节点之间状态的间距。
https://github.com/BotoX/ServerStatus的这个版本间距很短,容易对比。
可乐版本的话我找了好久都找不到间距代码在哪,希望可以告知一下。谢谢。
其实现在也挺好,如果作者有余力为该探针添加暗黑模式,在夜晚看起来就不会那么刺眼啦。
我有两个服务器,一个是有ipv4和ipv6的俄罗斯服务器,还有一个是EuServ的服务器,服务端被安装在了俄罗斯服务器上面,而EuServ的服务器虽然可以用ipv6来ping通俄罗斯服务器的ipv6地址,但是服务端一直显示EuServ维护中,是不是因为并不支持这样做?
emmm咱想着在Windows上面跑py 结果发现没法读数据
每次重启后流量都重置了,我需要统计总流量
服务端web界面显示该客户端 持续切换从 维护中 到绿色n/a
Python版本2.7.5 CentOS7.9.2009 (两台都报同样的错误)
客户端用 python /usr/local/ServerStatus/client/status-client.py 执行报错如下:
Connecting...
Authentication successful. Access granted.
You are connecting via: IPv4
('Caught Exception:', IndexError('list index out of range',))
Connecting...
Authentication successful. Access granted.
You are connecting via: IPv4
('Caught Exception:', IndexError('list index out of range',))
Connecting...
Authentication successful. Access granted.
You are connecting via: IPv4
你好,我覺得你這個探針很棒,考慮添加其他語言?
负载一直为0
服务器A同时搭了服务端和客户端,服务器B只搭建了客户端。只能正常显示B的信息,A的全部信息都无法显示,一直在图中的状态以及红色的维护中
切换,以下是nohup.out
文件内容:
nohup: ignoring input
Connecting...
Authentication successful. Access granted.
^@^@You are connecting via: IPv4
^@^@
Timeout.
^@^@
Timeout.
^@^@
Disconnected...
Connecting...
Authentication successful. Access granted.
^@^@You are connecting via: IPv4
^@^@
Timeout.
^@^@
Timeout.
^@^@
Disconnected...
Connecting...
Authentication successful. Access granted.
^@^@You are connecting via: IPv4
^@^@
~
因为种种原因需要手动安装,请问是否有支持?
最初安装客户端的时候直接回车了想更改一下端口,请问一下大佬存放端口的文件在哪里?谢谢
可以统计下总共用了多少流量吗,重启一下流量就清零了好难受啊。
嗨 CokeMine 按照你的分享资源搭建好服务端 客户端配置好都是一直显示 维护中,试过 CentOS 7 以及 Debian 9 都是一样情况,网页是可以直接登录,安装的时候无论是 域名 还是 IP 都是一样无法获取客户端信息,是否跟 系统自带 Python 版本有关?VPS 是重装系统后全新的。
手里的nat服务器,商家的面板不能自定义外网端口,映射出来的外网端口≠内网端口,客户端的监听端口和服务端的监听端口怎么配置呢。
全程跟着步骤安装的探针,没有单独下载过caddy
因为需要加上cloudfalre的CDN因此下载了一个官方的插件来实现
curl https://getcaddy.com | bash -s personal tls.dns.cloudflare
但是需要修改当中的 caddy.service 中的环境变量才能实现
未能在一般情况下caddyservice存在的路径下找到,通过 find命令也没有搜索到在这个路径下有这个文件
求帮助,谢谢谢谢!
想给虚拟主机也安个。。
Caddy看状态已经启动了,域名也解析了。但无论是域名还是IP就是访问不了网页。服务器已经重启的了。访问页面显示
无法访问此网站找不到 vps.formyvmess.tk 的服务器 IP 地址。
请试试以下办法:
检查网络连接
检查代理服务器、防火墙和 DNS 配置
运行 Windows 网络诊断
ERR_NAME_NOT_RESOLVED
手机网页版增加负载显示.....手机每次打开都必须调到电脑网页才能看到......
排版不够的话 可以稍微设置 网页可以稍微向右滑动一下。...
类似于另外一个修改版 那个逻辑 感谢。...
端口也没有被占用 换了几个也一样 没有开自带的http服务 没有日志
1.我把服务端放搭建在IPV6 only的VPS上,现在只能通过IPV6的代理才能访问主页,在移动IPV4下访问不了。如何能在IPV4网络下访问正常呢?
2.CPU 一直为0,请问CPU、RAM和ROM三项数据是如何采集的呢?其中CPU一直为0肯定不正确的,该VPS正在使用中的。在finalshell里看大概是30%-70%是正常的。
3.脚本体验的问题,即添加完一个节点就全部退出来了,需要继续添加又要输入多次bash status.sh s,再按7-1,添加多个监控客服端不方便。最好一直能留在菜单,并有个退出设置的选项。
不知道是不是只有我出现这种问题 是不是缓存的原因 没开的时候还是好的 开了以后服务器都显示维护中
vps已经使用了不少流量,总额度2t,大概知道已使用多少流量,能自己修改,方便监控流量消耗状况吗?谢谢大佬
在启动了V6的机子上好像无法读取数据
服务端内核python版本2.7.5,centos 7内核3.10.0-1062.18.1.el7.x86_64
有台纯ipv6的服务器 发现用服务端的ipv6地址连接不上
下载和配置客户端时出现以下错误,觉得是脚本不支持MacOS
status.sh: line 938: iptables: command not found
status.sh: line 939: iptables: command not found
sed: 1: "/usr/local/ServerStatus ...": extra characters at the end of l command
sed: 1: "/usr/local/ServerStatus ...": extra characters at the end of l command
sed: 1: "/usr/local/ServerStatus ...": extra characters at the end of l command
sed: 1: "/usr/local/ServerStatus ...": extra characters at the end of l command
status.sh: line 933: iptables: command not found
status.sh: line 934: iptables: command not found
status.sh: line 878: /etc/init.d/status-client: No such file or directory
同样的环境下逗比大佬的就能正常使用,出错在./sergate
这一步,这在好几台服务器上都得到了验证。
root@10-9-69-132:/home/ubuntu/ServerStatus-Toyo/server# ./sergate
[server]: Bound to :35601
^C[EXIT] Caught signal 2
[server]: Closing.
root@10-9-69-132:/home/ubuntu/ServerStatus-Toyo/server# cd /home/ubuntu/ServerStatus-Toyo/ServerStatus-Hotaru/server
root@10-9-69-132:/home/ubuntu/ServerStatus-Toyo/ServerStatus-Hotaru/server# ./sergate
[server]: Bound to :35601
Segmentation fault (core dumped)
网上搜原因后自感无力解决,只好求助大佬
路由器运行提示status.sh: line 437: syntax error: bad for loop variable
已编辑
Location: https://github.com/caddyserver/caddy/releases/download/v2.1.1/caddy__linux_amd64.tar.gz [following]
--2020-08-02 02:44:59-- https://github.com/caddyserver/caddy/releases/download/v2.1.1/caddy__linux_amd64.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 404 Not Found
2020-08-02 02:44:59 ERROR 404: Not Found
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[错误] Caddy 解压失败或压缩文件错误 !
[错误] Caddy安装失败,请手动部署,Web网页文件位置:
南非
国旗图片被错误地命名为南非洲
,且没有与其对应的ZA
缩写
纯IPV6作为服务端,测试不支持。
v4v6都有的机器作为服务端,客户端配置的时候填写v4可以用,v6就不能用
这边有个支持的https://github.com/BotoX/ServerStatus/,但是美化和功能没有大佬的好呀
安装客户端之后启动失败
安装v2之后安装的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.