- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- iLO Redfish API to get SmartStorageBattery status
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 07:53 AM - last edited on 12-21-2022 11:01 PM by support_s
12-16-2022 07:53 AM - last edited on 12-21-2022 11:01 PM by support_s
iLO Redfish API to get SmartStorageBattery status
I can see the smartstoragebattery discussed in ilo-rest-api-docs/ilo5/ but no concrete examples of how to actually retrieve the data. Does anyone have an example?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 08:54 AM
12-16-2022 08:54 AM
Query: iLO Redfish API to get SmartStorageBattery status
System recommended content:
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022 01:59 AM
12-19-2022 01:59 AM
Re: Query: iLO Redfish API to get SmartStorageBattery status
Neither of those are relevant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022 06:32 PM
12-20-2022 06:32 PM
Re: iLO Redfish API to get SmartStorageBattery status
See if the below link helps:-
Configuration>>Redfish.
These are the only options i see. You can check the model of the controller installed and check under its user guide to verify the commands available.
If you feel this was helpful please click the KUDOS! Thumbs below!
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 12:47 AM - last edited on 12-21-2022 10:53 PM by Sunitha_Mod
12-21-2022 12:47 AM - last edited on 12-21-2022 10:53 PM by Sunitha_Mod
Re: iLO Redfish API to get SmartStorageBattery status
I have explored all around that area. Nothing shows anything about the battery. Not sure why the reference says it is there, but it really isn't? I have a ticket open for it. Hopefully we can find an answer.
I did check the types of array controllers we have with:
RAID=$(mktemp)
for SERVER in my-server-r{1..4}-n{1..23}.myorg;do
ACTV=$(python -c "import urllib, sys; print urllib.quote(sys.argv[1])"'serverName' = '${SERVER}'\"")
UUID=$(curl --insecure --header "X-API-Version: ${currentVersion}" --header "auth: ${sessionID}" --silent \
--request GET ${OneView}/rest/server-hardware?filter=${ACTV} | jq -r '.members[] | .uuid'})
curl --silent --insecure --header "X-API-Version: ${currentVersion}" --header "auth: ${sessionID}" \
--request GET ${OneView}/rest/server-hardware/${UUID}?expand=all | \
jq --arg SRV ${SERVER} -r '.subResources.Devices.data[] | select(.Location=="Embedded RAID") | {"Server":$SRV,"Location":.Location,"Name":.Name,"PartNumber":.PartNumber,"ProductVersion":.ProductVersion,"SerialNumber":.SerialNumber,?Status":.Status}' | tee -a ${RAID}
done
We have two types:
E208i-a and P408i-a. So, I'll see if there is anything specific about those two.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 11:00 PM
12-21-2022 11:00 PM
Re: iLO Redfish API to get SmartStorageBattery status
The battery status can be checked via ILO however if the information is very much required over API then request you to please follow the open ticket as guide does not give complete information. This might require testing and answer to if it is an option or not as the controller user guide shared earlier does not show this option.
If you feel this was helpful please click the KUDOS! Thumbs below!
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 03:57 AM
12-22-2022 03:57 AM
Re: iLO Redfish API to get SmartStorageBattery status
Guys, let's put in a pin in this one for a few months. I was helping another member of our team that found 20-some servers with bad batteries. That is when I started trying to investigate how to detect. However, I did not realize he found those on Apollo servers with no iLO. I was testing against our DL380 and DL560s. We do have some DL385s that will have storage batteries that should be installed soon. So, I can test against those when they get powered on and ip'd. I'll report back what I find. Sorry for any confusion.