加入日志
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user