From 2054b3979cf90c50a3823b0b7c7943626173ac21 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 27 May 2025 09:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/system_status.html | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/dashboard/templates/system_status.html b/admin/dashboard/templates/system_status.html index 87d825e..ea7ca54 100644 --- a/admin/dashboard/templates/system_status.html +++ b/admin/dashboard/templates/system_status.html @@ -12,7 +12,7 @@ 服务器监控
- +
diff --git a/main.py b/main.py index df786cb..0bcfd77 100644 --- a/main.py +++ b/main.py @@ -73,7 +73,7 @@ def main(): # 初始化 Glances 监控 monitor = GlancesMonitor( email_sender=robot.email_sender, - host='localhost', + host='0.0.0.0', port=61208, cpu_threshold=80.0, load_threshold=None, # 自动设为 CPU 核心数 * 2