From 6f6eef54aa391acccfd3275875b646e64580db55 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 27 May 2025 09:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/GlancesMonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/GlancesMonitor.py b/admin/GlancesMonitor.py index 9fce896..f5b1d34 100644 --- a/admin/GlancesMonitor.py +++ b/admin/GlancesMonitor.py @@ -25,7 +25,7 @@ class GlancesMonitor: """ self.host = host self.port = port - self.api_url = f"http://{self.host}:{self.port}/api/3" + self.api_url = f"http://{self.host}:{self.port}/api/4" self.cpu_threshold = cpu_threshold self.load_threshold = load_threshold or (self.get_cpu_count() * 2) self.io_threshold = io_threshold