- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- HPE G2 Metered & Switched PDU RestAPI
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
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
03-21-2023 08:32 AM - last edited on 03-27-2023 05:47 PM by support_s
03-21-2023 08:32 AM - last edited on 03-27-2023 05:47 PM by support_s
HPE G2 Metered & Switched PDU RestAPI
Hello,
Has anyone used redfish to automate the configurations of the PDU's to include adding SNMPv3 users; NTP settings; etc.. ?? Can't seem to find much documentation about it.
Thanks for any help you can provide.
-Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 11:09 PM - last edited on 03-23-2023 01:18 AM by Sunitha_Mod
03-21-2023 11:09 PM - last edited on 03-23-2023 01:18 AM by Sunitha_Mod
Re: HPE G2 Metered & Switched PDU RestAPI
The HPE G2 Metered & Switched PDU RestAPI is an API that allows users to remotely monitor and manage power usage in their data center. It provides a set of HTTP endpoints for interacting with the PDU, including querying power consumption data, configuring power management settings, and more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2023 02:37 AM
03-24-2023 02:37 AM
Re: HPE G2 Metered & Switched PDU RestAPI
Hello!
Yes, it is possible to use Redfish to automate the configurations of HPE G2 Metered & Switched PDUs, including adding SNMPv3 users and NTP settings. Redfish is a standardized RESTful API that provides a way to manage server hardware and firmware components.
To use Redfish to automate configurations of HPE G2 Metered & Switched PDUs, you will need to have the appropriate Redfish client library installed and be familiar with the Redfish API documentation for the PDU.
I would recommend starting with the HPE G2 Metered & Switched PDU Redfish API Reference Guide, which can be found on the HPE website. This guide provides information on the Redfish resources, properties, and actions that can be used to manage the PDU.
In particular, you will want to look at the SNMPv3 and NTP resources and properties that are available in the Redfish API. These resources and properties will allow you to add SNMPv3 users and configure NTP settings on the PDU.
Once you are familiar with the Redfish API for the PDU, you can use a Redfish client library to automate the configurations. Popular Redfish client libraries include Redfish-Python and Redfish-CLI. These libraries allow you to interact with Redfish APIs using programming languages like Python or command-line tools.
Overall, using Redfish to automate configurations of HPE G2 Metered & Switched PDUs can save time and reduce the risk of errors that can occur with manual configurations. However, it does require some technical knowledge and familiarity with the Redfish API and client libraries.