HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
BladeSystem - General
cancel
Showing results for 
Search instead for 
Did you mean: 

Script to retrieve power supply info ?

 
chuckk281
Trusted Contributor

Script to retrieve power supply info ?

Robert had a customer looking for info:

 

***************************

 

I’m trying to assist a customer who is looking for a script to query either SIM or their OA’s to get the p/n’s & Serial #’s of their power supplies.

I assume this should be easy to do, but don’t know if anyone has a script template or perhaps one that already does this.

 

*****************************

 

Scot provided some good input:

 

*****************************

 

They can get this from the OA CLI with the command "show enclosure powersupply all".  This will give them the part number, spare part number, and serial numbers.  This can be automated with PLink or something similar.  Here is some sample output:

 

>SHOW ENCLOSURE POWERSUPPLY ALL

 

Power Supply #1 Information:

Status: OK

AC Input Status: OK

Capacity: 2400 Watts

Current Power Output: 432 Watts

Serial Number: 5AGUD0AHLYK64H <------------------- Product Name: HP 2400W HE PSU Part Number: 499253-B21 <------------------------- Spare Part Number: 500242-001<-------------------- Product Ver: 01 Diagnostic Status:

Internal Data        OK

Device Failure       OK

Power Cord           OK

 

*******************************************

 

Any other comments or help?