Updated CPU threshold
This commit is contained in:
@ -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', {})
|
||||
|
||||
Reference in New Issue
Block a user