Updated CPU threshold

This commit is contained in:
2025-07-25 17:36:21 -04:00
parent 0faf7654d6
commit fb1a9f67e1

View File

@ -43,7 +43,7 @@ class SystemHealthMonitor:
'DISK_WARNING': 80,
'LXC_CRITICAL': 90,
'LXC_WARNING': 80,
'CPU_WARNING': 80,
'CPU_WARNING': 95,
'TEMPERATURE_WARNING': 65
},
'NETWORKS': {
@ -903,7 +903,7 @@ class SystemHealthMonitor:
# Check for CPU-related issues
cpu_health = health_report.get('cpu_health', {})
if cpu_health and cpu_health.get('cpu_usage_percent', 0) > self.CONFIG['THRESHOLDS']['CPU_WARNING']:
issues.append("CPU usage is above threshold")
issues.append("CPU usage is above threshold of 95%")
# Check for network-related issues
network_health = health_report.get('network_health', {})