mirror of
https://github.com//cppla/ServerStatus
synced 2025-01-12 01:58:28 +08:00
some update for probe tcp slow
This commit is contained in:
parent
fa0ee2bf57
commit
8576f81404
@ -3,7 +3,7 @@
|
||||
# Update by : https://github.com/cppla/ServerStatus, Update date: 20220530
|
||||
# 版本:1.0.3, 支持Python版本:2.7 to 3.10
|
||||
# 支持操作系统: Linux, OSX, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures
|
||||
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
|
||||
# ONLINE_PACKET_HISTORY_LEN, 探测间隔1200s,记录24小时在线率(72);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
|
||||
# 说明: 默认情况下修改server和user就可以了。丢包率监测方向可以自定义,例如:CU = "www.facebook.com"。
|
||||
|
||||
SERVER = "127.0.0.1"
|
||||
@ -18,7 +18,7 @@ CM = "cm.tz.cloudcpp.com"
|
||||
PROBEPORT = 80
|
||||
PROBE_PROTOCOL_PREFER = "ipv4" # ipv4, ipv6
|
||||
PING_PACKET_HISTORY_LEN = 100
|
||||
ONLINE_PACKET_HISTORY_LEN = 288
|
||||
ONLINE_PACKET_HISTORY_LEN = 72
|
||||
INTERVAL = 1
|
||||
|
||||
import socket
|
||||
|
@ -4,7 +4,7 @@
|
||||
# 依赖于psutil跨平台库
|
||||
# 版本:1.0.3, 支持Python版本:2.7 to 3.10
|
||||
# 支持操作系统: Linux, Windows, OSX, Sun Solaris, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures
|
||||
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
|
||||
# ONLINE_PACKET_HISTORY_LEN, 探测间隔1200s,记录24小时在线率(72);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
|
||||
# 说明: 默认情况下修改server和user就可以了。丢包率监测方向可以自定义,例如:CU = "www.facebook.com"。
|
||||
|
||||
SERVER = "127.0.0.1"
|
||||
@ -19,7 +19,7 @@ CM = "cm.tz.cloudcpp.com"
|
||||
PROBEPORT = 80
|
||||
PROBE_PROTOCOL_PREFER = "ipv4" # ipv4, ipv6
|
||||
PING_PACKET_HISTORY_LEN = 100
|
||||
ONLINE_PACKET_HISTORY_LEN = 288
|
||||
ONLINE_PACKET_HISTORY_LEN = 72
|
||||
INTERVAL = 1
|
||||
|
||||
import socket
|
||||
|
@ -42,13 +42,13 @@
|
||||
{
|
||||
"name": "baidu",
|
||||
"host": "https://www.baidu.com",
|
||||
"interval": 300,
|
||||
"interval": 1200,
|
||||
"type": "https"
|
||||
},
|
||||
{
|
||||
"name": "114",
|
||||
"host": "114.114.114.114:53",
|
||||
"interval": 300,
|
||||
"interval": 1200,
|
||||
"type": "tcp"
|
||||
}
|
||||
],
|
||||
|
@ -108,7 +108,7 @@ tr.odd.expandRow:hover {
|
||||
}
|
||||
|
||||
#traffic, #network {
|
||||
width: 165px;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
#cpu, #ram, #hdd {
|
||||
@ -129,7 +129,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#traffic, #network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#type, #location, #uptime, #ping {
|
||||
display: none;
|
||||
@ -146,7 +146,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#traffic, #network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#month_traffic, #type, #location, #uptime, #ping {
|
||||
display: none;
|
||||
@ -163,7 +163,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#month_traffic, #type, #location, #uptime, #traffic, #ping {
|
||||
display: none;
|
||||
|
@ -89,7 +89,7 @@ tr.odd.expandRow:hover {
|
||||
}
|
||||
|
||||
#traffic, #network {
|
||||
width: 165px;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
#cpu, #ram, #hdd {
|
||||
@ -110,7 +110,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#traffic, #network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#type, #location, #uptime, #ping {
|
||||
display: none;
|
||||
@ -127,7 +127,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#traffic, #network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#month_traffic, #type, #location, #uptime, #ping {
|
||||
display: none;
|
||||
@ -144,7 +144,7 @@ tr.odd.expandRow:hover {
|
||||
padding: 0;
|
||||
}
|
||||
#network {
|
||||
width: 115px;
|
||||
width: 120px;
|
||||
}
|
||||
#month_traffic, #type, #location, #uptime, #traffic, #ping {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user