- Community Home
- >
- Servers and Operating Systems
- >
- HPE Synergy
- >
- HPE Synergy
- >
- Synergy API
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
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
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-10-2021 01:04 AM - last edited on тАО12-15-2021 09:00 PM by support_s
тАО12-10-2021 01:04 AM - last edited on тАО12-15-2021 09:00 PM by support_s
Synergy API
Hello
Trying to get a basic health status from the Synergy blade array, using curl.
I've got curl talking to the array ok, and got this working:
curl -s -k -H "accept: application/json" -H "content-type: application/json" -H "auth: someid" -X GET https://mysynergymachine/rest/server-hardware
That brings back a ton of rubbish. I just want a basic ok/error if that is possible.
According to the api doc in server-hardware there is a status flag that seems to have ok/disabled/warning/critical which looks promising.
But I cannot get it to retrieve this data.
Appreciate any help
- Tags:
- Synergy system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2021 08:56 PM
тАО12-15-2021 08:56 PM
Re: Synergy API
Hello @KaosAxe
As there is no response to the query yet, I would recommend to directly contact technical support and log a support call for quicker resolution. Please refer the links below for support ticket options:
https://support.hpe.com/help/en/Content/supportAndOtherResources.html
https://www.hpe.com/psnow/doc/A00039121ENW
Thanks,
Parvez_Admin
I work for HPE
[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-2021 03:22 PM
тАО12-22-2021 03:22 PM
Re: Synergy API
Synergy uses OneView for the Management.
Try reading this:
Likely you are getting a list of blades or all details for all blades.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2021 01:30 AM
тАО12-23-2021 01:30 AM
Re: Synergy API
Thanks,
I've been reading this.
The hardware-status looks the right thing:
curl -s -k -H "accept: application/json" -H "content-type: application/json" -H "auth: someid" -X GET https://mysynergymachine/rest/server-hardware
But I want to add the status flag, but I am struggling to get the syntax right.