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