From a4cdbdce70648dc60ecb678b31fdccb598b98854 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 9 Mar 2025 16:43:49 -0400 Subject: [PATCH] add ticket creation for lxc storage --- hwmonDaemon.py | 4 ++++ 1 file changed, 4 insertions(+) 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']}")