Skip to content

Commit f19d109

Browse files
committed
update version 1.1.8
1 parent 9ac276d commit f19d109

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ServerStatus 是一个轻量的服务器探针和云监控面板,支持多节
77
[![Python Support](https://img.shields.io/badge/python-3.6%2B%20-blue.svg)](https://github.com/cppla/ServerStatus)
88
[![C++ Compiler](http://img.shields.io/badge/C++-GNU-blue.svg?style=flat&logo=cplusplus)](https://github.com/cppla/ServerStatus)
99
[![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/cppla/ServerStatus)
10-
[![Version](https://img.shields.io/badge/Version-Build%201.1.7-red)](https://github.com/cppla/ServerStatus)
10+
[![Version](https://img.shields.io/badge/Version-Build%201.1.8-red)](https://github.com/cppla/ServerStatus)
1111

12-
![Latest Host Version](https://dl.cpp.la/Archive/serverstatus_1_1_7.png)
12+
![Latest Host Version](https://dl.cpp.la/Archive/serverstatus_1_1_8.png)
1313

1414
`Watchdog 的 `interval` 是最小通知间隔,用于避免频繁报警,并不是探测间隔。`rule` 使用 Exprtk 表达式,当前窄字符解析对中文等 Unicode 字符不友好,规则中建议使用英文、数字和字段名。`
1515

@@ -87,24 +87,6 @@ docker run -d --restart=always --name=serverstatus-client \
8787
| `CM` | `cm.tz.cloudcpp.com` | 移动探测地址 |
8888
| `CLIENT` | `psutil` | 客户端实现,可选 `psutil``linux` |
8989

90-
## WebUI 配置管理
91-
92-
WebUI 顶部保留四个入口:
93-
94-
- `主机`:节点列表、筛选、排序和右侧详情。
95-
- `服务`:服务监测结果。
96-
- `证书`:SSL 证书检查结果。
97-
- `配置`:编辑 `servers``monitors``sslcerts``watchdog`
98-
99-
使用配置页前需要:
100-
101-
1. 服务端设置 `ADMIN_TOKEN`
102-
2. 打开 http://127.0.0.1:8080/。
103-
3. 进入「配置」页,输入 `ADMIN_TOKEN`
104-
4. 保存后服务端会写入 `config.json` 并向 `sergate` 发送 `SIGHUP` 重载。
105-
106-
如果你使用 Docker 单文件 bind mount 挂载 `config.json`,管理 API 会自动兼容 Docker 的 `EBUSY` 写入限制:先备份,再原地写回。
107-
10890
## HTTP 管理 API
10991

11092
Docker 服务端镜像已内置 HTTP API,并通过 nginx 暴露在 Web 端口下。源码手动运行时需要单独启动 `server/manage_api.py`;如果要让 WebUI 的「配置」页可用,还需要把 `/api/` 反代到 `manage_api.py`。认证方式:

0 commit comments

Comments
 (0)