python-hpOneView
python-hpOneView copied to clipboard
Get Info for fan failure, array controller failure, smart storage battery status low or dead
Scenario/Intent
Is it possible to find Fans failure,Array Controller failure,Smart Storage Battery Status low or dead, Hard drive degraded or dead by api calls.
Environment Details
- OneView SDK Version: release/4.8.0
- OneView Appliance Version: 4.10.01-0348545
- **Python Version:**3.7
- Platform: macOS
@Imranatnisum , Sorry for the late replay. After a quick search, I got the below info from the API doc.
For fan status use enclosure get method - status will be Critical - Needs immediate attention. Disabled - The resource is currently not operational. OK - Indicates normal/informational behavior. Unknown - The health status is not yet known or cannot be determined. Warning - Needs attention soon. Hard drive - refer "drive enclosure" resource
I am not able to see any direct call to get status of Array controller and storage battery but I believe most of the resource status info you can get from the Alert API call.