add ticket creation for lxc storage

This commit is contained in:
2025-03-09 16:43:49 -04:00
parent 12f5ebfbaa
commit a4cdbdce70

View File

@ -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']}")