Shows if ecc memory is present
This commit is contained in:
@ -109,10 +109,10 @@ class SystemHealthMonitor:
|
||||
logger.info(f"Drive {drive['mountpoint']}: {drive['usage_percent']}% used, SMART: {drive['smart_status']}")
|
||||
|
||||
logger.info(f"Memory Status: {health_report['memory_health']['status']}")
|
||||
if health_report['memory_health']['has_ecc']:
|
||||
logger.info("ECC Memory: Present")
|
||||
if health_report['memory_health']['ecc_errors']:
|
||||
logger.info(f"ECC Errors: {health_report['memory_health']['ecc_errors']}")
|
||||
logger.info(f"Memory Usage: {health_report['memory_health']['memory_percent']}%")
|
||||
logger.info(f"ECC Memory: {'Present' if health_report['memory_health']['has_ecc'] else 'Not Present'}")
|
||||
if health_report['memory_health']['has_ecc'] and health_report['memory_health']['ecc_errors']:
|
||||
logger.info(f"ECC Errors: {health_report['memory_health']['ecc_errors']}")
|
||||
|
||||
logger.info(f"CPU Usage: {health_report['cpu_health']['cpu_usage_percent']}% ({health_report['cpu_health']['status']})")
|
||||
logger.info(f"Network Management Status: {health_report['network_health']['management_network']['status']}")
|
||||
|
||||
Reference in New Issue
Block a user