Collect full UCS Inventory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 06:31 AM - edited 03-01-2019 09:59 AM
Hi All
I have a requirement to regularly collect UCS Inventories, at present I go through the painful task of copy and pasting all the model and serial numbers from UCSM, but am sure there must be a much easier way to do this, like a "show inventory" at the cli or somthing.
A nice feature request would be a 1 click full export of the complete inventory and all s/no's to module level (Servers, Adapters, PSU's modules etc..) to an XLSX from UCSM.
Will continue hunting around the cli in the meantime.
Thanks in advance.
Colin
- Labels:
-
Unified Computing System (UCS)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 07:19 AM
In the Admin tab, go to Communication Services. From there, check out the Call Home section. There's an option to send a full inventory to an email address. It's an XML file which you'll have to write a small parser for or import into a tool that can interpret it (you could simply load it into your web browser).
From the CLI you can also "scope chassis N" and do "show inventory expand". You can easily script this to loop through all your chassis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2015 02:48 AM
Hi All,
anyone know how i could retrieve the inventory information for standalone UCS C series servers?
i have used the excellent script by Willem for the UCS inventory & i need something similar for the C series.
Thanks
Kass
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2011 07:48 AM
Hi All
Pretty much got there now, using the below commands.
"sh Fabric-interconnect inventory expand" Fabric Interconnect, Expansion Modules, Fans and PSUs
"sh chassis inventory expand" Chassis, IOM, PSU's and Servers
"sh server inventory expand" Servers and Adapters.
Colin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 02:01 AM
Hi Colin,
I could not export it to Excel or any other format using the commands provided. It has the option to export it in Volatile or Workspace format.
Is there a way to export the UCS inventory to excel using the above commands?
Regards,
A.Khalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 04:34 AM
Khalid,
Check out the " Export " option under UCSM > Equipment > for exporting the inventory details to a CSV file format.
HTH
Padma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 07:45 AM
Hi Padma,
Are you refering USCM > Equipment > Servers ? If yes then Serial Number for the servers are missing
I would like to know is there way from where we can generate a entire UCS devices inventory?
Regards,
Amit Vyas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 08:15 AM
Hi Amit
I now use the PowerShell script created by Jeremy Waldop, which can be found at the below link.
It's great at creating a nice html file of the complete state of a single or multiple Cisco UCS Domains (including all Asset details)
http://jeremywaldrop.wordpress.com/2012/04/04/cisco-ucs-powershell-health-check-report/
Regards
Colin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2013 10:37 AM
Thanks Colin,
It helped me too for the inventory
Regards,
Amit Vyas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2017 10:37 AM
How do we inventory server components as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2015 12:33 PM
Maybe four years too late :) but I recently wrote and published a PowerShell script, that is exactly doing this: https://communities.cisco.com/docs/DOC-56414
Willem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2017 10:36 AM
We are looking for the same thing, but from UCS Central. We have 22 Domains and we are trying to inventory the complete inventory without have to log into each domain.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2017 11:52 AM
So you are wanting to poll the inventory from the UCS Central perspective or would you rather just poll your UCSM domains and get it that way?
You should be able to use the existing powershell script for all the UCSM domains or there is also a SDK for Central: https://github.com/CiscoUcs/ucscsdk
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019 07:23 PM
Can someone give me a working example of a user and domain login via CLI please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2019 02:21 AM - edited 10-30-2019 02:22 AM
For UCS 6333 FI
scope fabric-interconnect b
show port
