cppla / serverstatus Goto Github PK
View Code? Open in Web Editor NEW云探针、多服务器探针、云监控、多服务器云监控,演示: https://tz.cloudcpp.com/
License: MIT License
云探针、多服务器探针、云监控、多服务器云监控,演示: https://tz.cloudcpp.com/
License: MIT License
能改的话我就加上,事有点多,脚本无限延期了...
服务端的web访问端口是多少,如何修改呢
已经有了丢包率,如果还有时延显示就更好了。
建议去掉丢包率, 加 了丢包率,3台全见红, 连我家里的客户端都见红.
不管是竖屏、横屏,还是请求桌面站点,都没有适配,信息看不全,也无法点击。
with iPhone8 Plus, iOS 12, Safari
超过1天的在线时间,精度只到天,不超过1天的却精确到秒,能否也让超过1天的在线时间精确到秒?最后更新也显示准确时间而不是几秒前
小鸡都限制在50M以内的速度 后台可以看到实际速度
但是监控速度 上下100M
是不是因为是开的LXC的虚拟机原因? 计算了2次?
大佬,client客户端中client-linux.py 和 client-psutil.py都尝试了。
都是出现
ping: invalid option -- 'O'
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
ping: invalid option -- 'O'
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
Connecting...
ping: invalid option -- 'O'
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
Caught Exception: a bytes-like object is required, not 'str'
Connecting...
Caught Exception: a bytes-like object is required, not 'str'
求解~感谢!
centos,debian,ubuntu,redhat都测试通过了?那我再改的规范些
即使开了访问桌面版也只能显示cu的丢包率。
顺便一提,客户端一键已加入更新功能
尊敬的大佬您好,可以增加各个客户端实时流量统计么?
比如我有10台服务器,可以显示出10台服务器在某一时刻的总上传流量和下载流量。
[net_ban]: banned '****' for 1 minute (You're an idiot, go away.)
怎么样才能支持开机自动启动呢
请问,折腾了好久没有成功
Python 2.7.3
反复重启提示错误
You are connecting via: IPv4 ('Caught Exception:', AttributeError("'module' object has no attribute 'check_output'",)) Connecting... Authentication successful. Access granted.
大佬,只可以监控家庭宽带下的设备吗?
有一个服务器的上下行流量统计不上,
大佬,怎么监控家庭宽带下的设备呀?
我自己尝试添加这个模块,无奈本人对C#不熟悉,折腾了几个晚上均以失败告终
https://github.com/P3terChan/ServerStatus-V
这个项目里面有现成的,但是他没有三网监控,91yun的也是如此
如果大佬添加支持vnStat,那就相当的完美了
而且他这个项目的轮子过于老旧,客户端也问题多多,基本不太能用!
还有一个功能建议
其实目前那个“负载”功能基本上没什么用,因为后面已经有CPU 内存等信息
而且这个“负载”功能又占栏位,大佬大可将这个负载变成
https://github.com/ToyoDAdoubi/ServerStatus-Toyo
的在线数统计功能,逗比这个功能非常实用,配合SS V2 什么之类的,超级实用,
结合vnStat ,在线统计,这两个功能加入,这个项目将会是目前最强大的探针!
望大佬有时间抽空出来写写BUG!
仰望!
大佬,建议增加一句代码修复在程序在非gui环境下目前有闪屏的bug
代码如下:
<meta name="viewport" content="width=device-width, initial-scale=1.0" -webkit-backface-visibility: hidden;>
亲测在谷歌浏览器下不再出现闪屏的bug
Caught Wxception:argument should be integer or bytes-like object,not 'str'
有软件需求必须用archlinux
现在运行客户端就报错
[root@archlinux alice]# /usr/bin/python "/usr/local/ServerStatus/client-linux.py"
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
Connecting...
Caught Exception: argument should be integer or bytes-like object, not 'str'
^CTraceback (most recent call last):
File "/usr/local/ServerStatus/client-linux.py", line 243, in
if data.find("Authentication required") > -1:
TypeError: argument should be integer or bytes-like object, not 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/ServerStatus/client-linux.py", line 317, in
time.sleep(3)
KeyboardInterrupt
求助下大佬是什么原因?
大大,请教一下,客户端的维护指令,例如客户端停止、重启、状态查询、卸载等。谢谢!
监控的服务器是没问题的,连接正常,但最近发现 CU 的丢包率越来越高直到 100%,怀疑可能检测丢包的对方服务器禁止了或关机了,是否可以自定义
嘤嘤嘤
大佬解决一下?
我用这个Dockerfile构建出来的镜像大小高达387MB,已经很占我服务器的空间了。能否用caddy替代nginx?nginx本身就很大,用alpine镜像构建就更好了
REPOSITORY TAG IMAGE ID CREATED SIZE
serverstatus_server latest 8ad86276b7a7 2 weeks ago 387MB
./sergate之后卡在[server]: Bound to :35601不动了,端口没有被占用。这是什么引起
经过这几天的观察,发现除了移动的线路是固定IP获取信息外,电信和联通都加了cdn,获取的信息不准确。望加以修正。
使用docker部署服务器端,基于bt的nginx反向代理,不能自动刷新,stats.json总是from disk cache
banned '****' for 1 minute (You're an idiot, go away.)
发现会自动ban ip,请问这是什么原因呢?
最近IPv6技术越来越火了,建议创建一个新分支,将IPv6功能再添加回来。
增加了宕机告警功能,通过http callback 调用“server酱”,微信及时通知,不知道各位玩鸡大佬是否有这个需求???
看到新增了三网ping延迟,更新了一下。
各个节点显示都没问题。
但是ServerStatus服务端宿主机上本机运行客户端监控自己的情况,从网页上看三网延迟均为0ms,大佬看一下这个问题,谢谢
情况是这样的,我的服务端在洛杉矶,但是我有一台Windows Server 2012 VPS在重庆,在此机器上运行client-psutil版实现对其监测,但是它频繁掉线(几分钟掉一次)。服务端显示 OnDelClient,网页显示掉线二十多秒后能在客户端看到Disconnected...,然后显示Connecting...,然后看到服务端显示OnNewClient,最后网页重新出现数据。
我尝试使用tcping工具ping服务端对应端口,几乎没有丢包情况(小于1%)。个人感觉问题不应该出在网络传输上。
请问其他朋友有无遇到此问题,是否有解决方案?感谢!
Please replace "ps -xH" in line 148 of client-linux.py (and in line 114 of client-psutil.py) with "ps -eLf".
client端用client-linux.py 如果用python3运行的话,CPU占用一直都为0。如果用Python 2.7,则CPU占用显示是正确的。
首先非常感谢作者的无私奉献!
小弟已经部署成功,提出一个小要求,不知道是能自定义加入一些空栏,因为如果客户端太多需要分类时这样显示出来的列表更直观了!例如:在第四行加入一行空栏,如果空栏能写入内容更好了,例如:US-SSR ; 这样多客户端时看得更舒服明白! 谢谢
RT
谢谢..
windows 可以用吗?
Readme内显示在20170807修改了负载的显示方法,可是commit是从2018626开始的。请问是修改了那几个文件?
这里的版本实现了使用vnstat来统计月度使用量
https://github.com/P3TERX/ServerStatus-V
大佬要不要考虑下也使用vnstat?
建议把 code.jquery.com/jquery-1.10.2.min.js 替换成国内cdn
更好的方法是本地化并加一句判断,如果cdn连不上就用本地文件
示例:
<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript">
<![CDATA[
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='/js/jquery-2.1.4.min.js' type='text/javascript'%3E%3C/script%3E"));}
]]>
</script>
如果有命令行工具可以快速查看就好了,因为不是任何时候都想打开网页去看的。
多个客户端不能使用同一个用户名来连接服务端,这样我就要为每一个客户端新增一个用户名,非常不方便。
docker文件自带了Ngnix,直接部署好了是http访问 ,没看到有自定义配置文件的说明,不知道如何用自己的crt证书文件开启https访问,如果可以的话,希望你能指点迷津,非常感谢!
就是展示页面的,每一列,点标题可以进行排序就完美了。
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.