加入日志

This commit is contained in:
liuwei
2025-05-27 09:25:19 +08:00
parent 854bd1515a
commit 6f6eef54aa

View File

@@ -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