added details to fs output

This commit is contained in:
2025-03-09 19:58:03 -04:00
parent bd658f51ff
commit 7f0adb178c

View File

@ -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']: