Closed Pavan-Mudunuri closed 2 years ago
UnityHealth is not the resource to store the whole array health info, it is associated with the specific resource. For example, health for storageResouce, health for storageProcessor. You could get the health of a LUN by:
lun = client.get_lun()[0]
print(lun.health)
The result looks like:
{"UnityHealth": {"description_ids": ["ALRT_VOL_OK"], "descriptions": ["The LUN is operating normally. No action is required."], "existed": true, "hash": 157035568777, "value": "HealthEnum.OK"}}
Thanks @yong-huang for the response. We will check with customer on what is the exact info they are looking for and get back if we are not able to fetch that info.
Requirement : As part of one of the customer's ask, there is a requirement to display array health details .Checked SDK health.py, did not find any support for getting health details. Please let us know if there is any alternatives with existing SDK, if not is this planned in future roadmap.
Thanks Pavan