some update for probe tcp slow

This commit is contained in:
cppla 2024-11-18 13:56:01 +08:00
parent fa0ee2bf57
commit 8576f81404
5 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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"
}
],

View File

@ -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;

View File

@ -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;