lidalao / serverstatus Goto Github PK
View Code? Open in Web Editor NEWServerStatus with node management and monitor
Home Page: https://lidalao.com/archives/87
License: MIT License
ServerStatus with node management and monitor
Home Page: https://lidalao.com/archives/87
License: MIT License
rt,求教程或者将脚本完善一下加入域名解析!
老哥能支持vnstat嘛,感谢
Sent from PPHub
只有ipv6的机器貌似监控不了
在oracle ubuntu搭建后容器一直重启,
容器sss日志:
exec /docker-entrypoint.sh: exec format error
exec /docker-entrypoint.sh: exec format error
exec /docker-entrypoint.sh: exec format error
exec /docker-entrypoint.sh: exec format error
exec /docker-entrypoint.sh: exec format error
容器bot4sss日志:
exec /usr/bin/python: exec format error
exec /usr/bin/python: exec format error
exec /usr/bin/python: exec format error
exec /usr/bin/python: exec format error
exec /usr/bin/python: exec format error
exec /usr/bin/python: exec format error
问题出现在启动./sss.sh 报错
root@debian11:~/data/docker_data/sss# ./sss.sh
Traceback (most recent call last):
File "/root/data/docker_data/sss/_sss.py", line 249, in
cmd()
File "/root/data/docker_data/sss/_sss.py", line 213, in cmd
print('- - - \u6b22\u8fce\u4f7f\u7528\u6700\u7b80\u6d01\u7684\u63a2\u9488: Server Status - - -')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 6-15: ordinal not in range(256)
我找了半天没找到,实在没办法发帖
我想修改下标题 应该怎么弄
TCP/UDP/进/线: 0 / 0 / 0 / 0
有考虑过排序功能吗
望修复
问下用的一键脚本第一次设置完以后,下次再想进去修改用什么命令,用原来的命令提示已经创建过sss文件夹了,关键是这个文件夹我还找不到在哪,删也删不了
查看docker日志显示
exec /usr/bin/python: exec format error
客户端安装后,服务器端还显示服务器关闭是怎么回事
之前部署用的bot我想用在别的推送上,给serverstatus申请了一个新的bot,但是重新执行sss.sh并附带新参数后重新部署,还是推通过原来的bot推送,而不是通过新途径。尝试过重启主机,但是仍然不生效。请问如果想通过新api推送,有没有什么简便的方法呢?
Attaching to bot4sss, sss
bot4sss | exec /usr/bin/python: exec format error
sss | exec /docker-entrypoint.sh: exec format error
bot4sss exited with code 0
sss exited with code 0
bot4sss exited with code 1
sss exited with code 1
bot4sss exited with code 1
sss exited with code 1
什么时候可以加入域名呢,用ip太麻烦了。
现在一天至少有二十多条tg消息是关于主机掉线的,几乎全部都是在下线后10秒左右就上线了。感觉现有的下线检测敏感程度太高了,请问如何改成下线60秒左右再发送下线消息?
之前我试着修改过一次bot.py文件中第46行的if counterOff[srv] < 10:
,但似乎没有生效,不太清楚是bot.py修改的参数不对,还是修改完成后没有重启导致的(试过修改后kill掉含有bot.py的进程,但是kill后瞬间就又出现了)
望赐教,谢谢!
Traceback (most recent call last):
File "_sss.py", line 249, in
cmd()
File "_sss.py", line 213, in cmd
print('- - - \u6b22\u8fce\u4f7f\u7528\u6700\u7b80\u6d01\u7684\u63a2\u9488: Server Status - - -')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 6-15: ordinal not in range(256)
换了三个机器都失败显示这个
Traceback (most recent call last):
File "_sss.py", line 249, in
cmd()
File "_sss.py", line 213, in cmd
print('- - - \u6b22\u8fce\u4f7f\u7528\u6700\u7b80\u6d01\u7684\u63a2\u9488: Server Status - - -')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 6-15: ordinal not in range(256)
谷歌云debian11,docker的日志:
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
standard_init_linux.go:219: exec user process caused: exec format error
访问ip:8081提示 502页面
Traceback (most recent call last):
File "_sss.py", line 249, in
cmd()
File "_sss.py", line 213, in cmd
print('- - - \u6b22\u8fce\u4f7f\u7528\u6700\u7b80\u6d01\u7684\u63a2\u9488: Server Status - - -')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-15: ordinal not in range(128)
CentOS 7,小鸡是日本的,可能和这个有关
root@-host:~/sss# python3 ./bot.py
File "./bot.py", line 73
sscmd(NODE_STATUS_URL)_ == 'main':
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "_sss.py", line 249, in
cmd()
File "_sss.py", line 213, in cmd
print('- - - \u6b22\u8fce\u4f7f\u7528\u6700\u7b80\u6d01\u7684\u63a2\u9488: Server Status - - -')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 6-15: ordinal not in range(256)
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.