HPE OneView
1820478 Members
3086 Online
109624 Solutions
New Discussion юеВ

Script or Report to Retrieve Power Regulator Settings

 
SOLVED
Go to solution
gcj2021
Advisor

Script or Report to Retrieve Power Regulator Settings

Hello - We currently use OneView for Monitoring, and I'd like to get a report of the Power Settings for all the blades - It seems this is something you can get within the ILO commands, but wondering if there is a way I can get this from OneView because we don't have accounts setup on our ILOs (we access via chassis)...

 

This is the property I need to capture.

 

Capture.PNG

9 REPLIES 9
gcj2021
Advisor

Re: Script or Report to Retrieve Power Regulator Settings

Hoping someone knows the property name to grab this info - something like this

 

Get-OVServer |
Select-Object -Property @{Name="Name"; Expression={$_.name}},
@{Name="Serial Number"; Expression={$_.serialNumber}},
@{Name="Status"; Expression={$_.status}},
@{Name="Power Regulator Settings"; Expression={$_.PowerRegulatorSettings}}

support_s
System Recommended

Query: Script or Report to Retrieve Power Regulator Settings

System recommended content:

1. Advisory: HPE ProLiant DL325 Gen10 Server - HPE CONREP Utility Version 5.5.0 From HPE Scripting Toolkit (STK) Version 11.40 Will Not Save or Load the Power Regulator Environmental Variable Settings

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

gcj2021
Advisor

Re: Query: Script or Report to Retrieve Power Regulator Settings

Thanks but that seems to be xml - any chance I can get this via powershell by connecting and running against OneView or OneView global?

gcj2021
Advisor

Re: Query: Script or Report to Retrieve Power Regulator Settings

Is there a way via powershell to authenticate to ILO through OneView SSO? So that I could connect to OV, pull all Servers, and then connect to the ILO and run the ILO command to retrieve the power settings.

ManBha
HPE Pro

Re: Script or Report to Retrieve Power Regulator Settings

Hello,

 

Please do refer the below guide to check the options available.

 

https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/reports

https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/power-devices

https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/server-hardware

 

Thanks.

I work for HPE.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo

gcj2021
Advisor

Re: Script or Report to Retrieve Power Regulator Settings

Thank you - but this is not PowerShell - these are API GET commands. 

Please help with using PowerShell - I have researched all HPE PowerShell cmdlets documentation (HPE ONEVIEW, HPEBIOS,HPEILO,etc..) and while I feel like this CAN be done, the documentation does not give enough info. 

gcj2021
Advisor
Solution

Re: Script or Report to Retrieve Power Regulator Settings

I figured out how to do this via powershell - I am closing this. 

Sunitha_Mod
Moderator

Re: Script or Report to Retrieve Power Regulator Settings

Hello @gcj2021

Excellent! We are glad to know you have figured it out and thank you for keeping us updated. 



Thanks,
Sunitha G
I'm an HPE employee.
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]
Accept or Kudo
KsaweryGlowacka
New Member

Re: Query: Script or Report to Retrieve Power Regulator Settings

very helpful. Thanks

My name is Ksawery and I come from Poland. I sell Stabilizers and various medical equipment. I like programming and watching basketball.