磁盘占用预警

This commit is contained in:
liuwei
2025-10-14 18:05:41 +08:00
parent c01442653e
commit ceadaa03f1

View File

@@ -9,7 +9,7 @@ from loguru import logger
class GlancesMonitor:
def __init__(self, email_sender, host='192.168.2.170', port=61208,
cpu_threshold=80.0, load_threshold=None, io_threshold=80.0,
disk_usage_threshold=60.0, handle_threshold=20000,
disk_usage_threshold=80.0, handle_threshold=20000,
recipient=None):
"""初始化 Glances 监控组件