diff --git a/hwmonDaemon.py b/hwmonDaemon.py index 64b4826..93363d5 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -683,6 +683,10 @@ class SystemHealthMonitor: if network_health.get(network, {}).get('issues'): issues.extend(network_health[network]['issues']) + lxc_health = health_report.get('lxc_health', {}) + if lxc_health.get('status') in ['WARNING', 'CRITICAL']: + issues.extend(lxc_health.get('issues', [])) + logger.info("=== Issue Detection Started ===") logger.info(f"Checking drives: {len(health_report['drives_health']['drives'])} found") logger.info(f"Memory status: {health_report['memory_health']['status']}")