mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-18 10:02:16 +00:00
Update health_monitor.py
This commit is contained in:
@@ -1284,10 +1284,10 @@ class HealthMonitor:
|
|||||||
else:
|
else:
|
||||||
return {'status': 'OK'} # No VGs found, LVM not in use
|
return {'status': 'OK'} # No VGs found, LVM not in use
|
||||||
|
|
||||||
return {'status': 'OK', 'volumes': len(volumes)}
|
return {'status': 'OK', 'volumes': len(volumes)}
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
return {'status': 'OK'}
|
return {'status': 'OK'}
|
||||||
|
|
||||||
def _get_physical_disks_list(self) -> List[Dict[str, Any]]:
|
def _get_physical_disks_list(self) -> List[Dict[str, Any]]:
|
||||||
"""Get list of all physical disks with their health status.
|
"""Get list of all physical disks with their health status.
|
||||||
|
|||||||
Reference in New Issue
Block a user