From f19d10966d7e2a7b52bbca5075a806293a5b1776 Mon Sep 17 00:00:00 2001 From: cppla Date: Wed, 1 Jul 2026 17:13:30 +0800 Subject: [PATCH] update version 1.1.8 --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 26195ca..8b8fef4 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ ServerStatus 是一个轻量的服务器探针和云监控面板,支持多节 [![Python Support](https://img.shields.io/badge/python-3.6%2B%20-blue.svg)](https://github.com/cppla/ServerStatus) [![C++ Compiler](http://img.shields.io/badge/C++-GNU-blue.svg?style=flat&logo=cplusplus)](https://github.com/cppla/ServerStatus) [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/cppla/ServerStatus) -[![Version](https://img.shields.io/badge/Version-Build%201.1.7-red)](https://github.com/cppla/ServerStatus) +[![Version](https://img.shields.io/badge/Version-Build%201.1.8-red)](https://github.com/cppla/ServerStatus) -![Latest Host Version](https://dl.cpp.la/Archive/serverstatus_1_1_7.png) +![Latest Host Version](https://dl.cpp.la/Archive/serverstatus_1_1_8.png) `Watchdog 的 `interval` 是最小通知间隔,用于避免频繁报警,并不是探测间隔。`rule` 使用 Exprtk 表达式,当前窄字符解析对中文等 Unicode 字符不友好,规则中建议使用英文、数字和字段名。` @@ -87,24 +87,6 @@ docker run -d --restart=always --name=serverstatus-client \ | `CM` | `cm.tz.cloudcpp.com` | 移动探测地址 | | `CLIENT` | `psutil` | 客户端实现,可选 `psutil` 或 `linux` | -## WebUI 配置管理 - -WebUI 顶部保留四个入口: - -- `主机`:节点列表、筛选、排序和右侧详情。 -- `服务`:服务监测结果。 -- `证书`:SSL 证书检查结果。 -- `配置`:编辑 `servers`、`monitors`、`sslcerts`、`watchdog`。 - -使用配置页前需要: - -1. 服务端设置 `ADMIN_TOKEN`。 -2. 打开 http://127.0.0.1:8080/。 -3. 进入「配置」页,输入 `ADMIN_TOKEN`。 -4. 保存后服务端会写入 `config.json` 并向 `sergate` 发送 `SIGHUP` 重载。 - -如果你使用 Docker 单文件 bind mount 挂载 `config.json`,管理 API 会自动兼容 Docker 的 `EBUSY` 写入限制:先备份,再原地写回。 - ## HTTP 管理 API Docker 服务端镜像已内置 HTTP API,并通过 nginx 暴露在 Web 端口下。源码手动运行时需要单独启动 `server/manage_api.py`;如果要让 WebUI 的「配置」页可用,还需要把 `/api/` 反代到 `manage_api.py`。认证方式: