python-hpOneView icon indicating copy to clipboard operation
python-hpOneView copied to clipboard

Get Info for fan failure, array controller failure, smart storage battery status low or dead

Open Imranatnisum opened this issue 5 years ago • 1 comments

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 avatar Jul 09 '19 06:07 Imranatnisum

@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.

sijeesh avatar Jul 23 '19 09:07 sijeesh