Skip to content

Commit 25f878a

Browse files
committed
5分钟一次probe service
1 parent a8b9b2d commit 25f878a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

clients/client-linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Update by : https://github.com/cppla/ServerStatus, Update date: 20220530
44
# 版本:1.0.3, 支持Python版本:2.7 to 3.10
55
# 支持操作系统: Linux, OSX, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures
6-
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间180s,记录24小时(480);探测间隔60s,记录7天(10080)
6+
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
77
# 说明: 默认情况下修改server和user就可以了。丢包率监测方向可以自定义,例如:CU = "www.facebook.com"。
88

99
SERVER = "127.0.0.1"

clients/client-psutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 依赖于psutil跨平台库
55
# 版本:1.0.3, 支持Python版本:2.7 to 3.10
66
# 支持操作系统: Linux, Windows, OSX, Sun Solaris, FreeBSD, OpenBSD and NetBSD, both 32-bit and 64-bit architectures
7-
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间180s,记录24小时(480);探测间隔60s,记录7天(10080)
7+
# ONLINE_PACKET_HISTORY_LEN, 探测间隔120s,记录24小时在线率(720);探测时间300s,记录24小时(288);探测间隔60s,记录7天(10080)
88
# 说明: 默认情况下修改server和user就可以了。丢包率监测方向可以自定义,例如:CU = "www.facebook.com"。
99

1010
SERVER = "127.0.0.1"

server/config.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,19 @@
4242
{
4343
"name": "baidu",
4444
"host": "https://www.baidu.com",
45-
"interval": 180,
45+
"interval": 300,
46+
"type": "https"
47+
},
48+
{
49+
"name": "aliyun",
50+
"host": "https://www.aliyun.com",
51+
"interval": 300,
4652
"type": "https"
4753
},
4854
{
4955
"name": "114",
5056
"host": "114.114.114.114:53",
51-
"interval": 180,
57+
"interval": 300,
5258
"type": "tcp"
5359
}
5460
],

0 commit comments

Comments
 (0)