Git Product home page Git Product logo

serverstatus's Issues

时延显示

已经有了丢包率,如果还有时延显示就更好了。

丢包率

建议去掉丢包率, 加 了丢包率,3台全见红, 连我家里的客户端都见红.

手机端网页显示无适配

不管是竖屏、横屏,还是请求桌面站点,都没有适配,信息看不全,也无法点击。

with iPhone8 Plus, iOS 12, Safari

能否将在线时间精确到秒?

超过1天的在线时间,精度只到天,不超过1天的却精确到秒,能否也让超过1天的在线时间精确到秒?最后更新也显示准确时间而不是几秒前

网速有点不准

小鸡都限制在50M以内的速度 后台可以看到实际速度

但是监控速度 上下100M

是不是因为是开的LXC的虚拟机原因? 计算了2次?

ping: invalid option -- 'O' !in Centos 6.1 python 3.6.1

大佬,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'

求解~感谢!

开机

怎么样才能支持开机自动启动呢
请问,折腾了好久没有成功

某些情况下无法客户端无法获取信息

Python 2.7.3
反复重启提示错误
You are connecting via: IPv4 ('Caught Exception:', AttributeError("'module' object has no attribute 'check_output'",)) Connecting... Authentication successful. Access granted.

统计流量

有一个服务器的上下行流量统计不上,

希望大佬添加支持vnStat ,这样就完美了!

我自己尝试添加这个模块,无奈本人对C#不熟悉,折腾了几个晚上均以失败告终

https://github.com/P3terChan/ServerStatus-V
这个项目里面有现成的,但是他没有三网监控,91yun的也是如此
如果大佬添加支持vnStat,那就相当的完美了
而且他这个项目的轮子过于老旧,客户端也问题多多,基本不太能用!

还有一个功能建议
其实目前那个“负载”功能基本上没什么用,因为后面已经有CPU 内存等信息
而且这个“负载”功能又占栏位,大佬大可将这个负载变成
https://github.com/ToyoDAdoubi/ServerStatus-Toyo
的在线数统计功能,逗比这个功能非常实用,配合SS V2 什么之类的,超级实用,

结合vnStat ,在线统计,这两个功能加入,这个项目将会是目前最强大的探针!
望大佬有时间抽空出来写写BUG!
仰望!

archlinux上应该怎么运行客户端?

有软件需求必须用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

求助下大佬是什么原因?

关于客户端的指令

大大,请教一下,客户端的维护指令,例如客户端停止、重启、状态查询、卸载等。谢谢!

能否将docker做小一点?

我用这个Dockerfile构建出来的镜像大小高达387MB,已经很占我服务器的空间了。能否用caddy替代nginx?nginx本身就很大,用alpine镜像构建就更好了

REPOSITORY                   TAG                 IMAGE ID            CREATED             SIZE
serverstatus_server          latest              8ad86276b7a7        2 weeks ago         387MB

关于网络延迟的问题

经过这几天的观察,发现除了移动的线路是固定IP获取信息外,电信和联通都加了cdn,获取的信息不准确。望加以修正。

不能自动刷新

使用docker部署服务器端,基于bt的nginx反向代理,不能自动刷新,stats.json总是from disk cache

banned ip

banned '****' for 1 minute (You're an idiot, go away.)
发现会自动ban ip,请问这是什么原因呢?

新增加的三网延迟,宿主机显示均为0ms

看到新增了三网ping延迟,更新了一下。

各个节点显示都没问题。

但是ServerStatus服务端宿主机上本机运行客户端监控自己的情况,从网页上看三网延迟均为0ms,大佬看一下这个问题,谢谢

Windows客户端频繁掉线

情况是这样的,我的服务端在洛杉矶,但是我有一台Windows Server 2012 VPS在重庆,在此机器上运行client-psutil版实现对其监测,但是它频繁掉线(几分钟掉一次)。服务端显示 OnDelClient,网页显示掉线二十多秒后能在客户端看到Disconnected...,然后显示Connecting...,然后看到服务端显示OnNewClient,最后网页重新出现数据。
我尝试使用tcping工具ping服务端对应端口,几乎没有丢包情况(小于1%)。个人感觉问题不应该出在网络传输上。
请问其他朋友有无遇到此问题,是否有解决方案?感谢!

Thread count by ps -eLf

Please replace "ps -xH" in line 148 of client-linux.py (and in line 114 of client-psutil.py) with "ps -eLf".

能否在列表中加入空栏?

首先非常感谢作者的无私奉献!
小弟已经部署成功,提出一个小要求,不知道是能自定义加入一些空栏,因为如果客户端太多需要分类时这样显示出来的列表更直观了!例如:在第四行加入一行空栏,如果空栏能写入内容更好了,例如:US-SSR ; 这样多客户端时看得更舒服明白! 谢谢

偶尔会显示错误

tim 20181211063645
偶尔会如上图一样,每台服务器之间隔得特别开。
正常状态如下图。
tim 20181211064355
请问有没有什么办法解决?

负载显示

Readme内显示在20170807修改了负载的显示方法,可是commit是从2018626开始的。请问是修改了那几个文件?

国内部分地区阻断了jquery官方https链接

建议把 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>

命令行工具

如果有命令行工具可以快速查看就好了,因为不是任何时候都想打开网页去看的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.