add ticket creation for lxc storage
This commit is contained in:
@ -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']}")
|
||||
|
||||
Reference in New Issue
Block a user