From 7f0adb178ce9f8d0b206db1e526ac94aaf553e64 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 9 Mar 2025 19:58:03 -0400 Subject: [PATCH] added details to fs output --- hwmonDaemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index f4322e9..58aea3a 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -1404,11 +1404,11 @@ class SystemHealthMonitor: logger.debug(f" Usage: {usage_percent}%") filesystem.update({ - 'mountpoint': mountpoint, + 'mountpoint': parts[5] if len(parts) >= 6 else '', 'total': parts[1], 'used': parts[2], 'available': parts[3], - 'usage_percent': usage_percent + 'usage_percent': float(parts[4].rstrip('%')) }) if usage_percent >= self.CONFIG['THRESHOLDS']['DISK_CRITICAL']: