03-29-2017 07:53 PM - edited 03-01-2019 01:08 PM
Any chance to extract data about CIMC from running Linux? Are any tools like ipmitool or dmidecode for CICM? It's tough to gather inventory information from CICM directly.
03-29-2017 08:31 PM
Greetings.
You can use IPMI over LAN to poll some information.
The CIMC can be queried over xml engine, see https://communities.cisco.com/docs/DOC-36278
Python: see https://communities.cisco.com/docs/DOC-64378 and https://communities.cisco.com/docs/DOC-50404 (has link to sample getinventory.py script)
Thanks,
Kirk...
03-30-2017 03:09 PM
Thanks, Kirk.
This is the way to extract data directly from IMC, which is great for sure. Any other methods to get IMC information from OS running on blade server inside an enclosure? We have bunch of servers which were not listed in inventory and to fix that I need to match server with enclosure.
With HP possible to dump memory and read an information about enclosure in there.
Thanks!
03-31-2017 06:10 AM
The UCS blade server's IMC, does not run SNMP, and does not enable IPMI by default.
To collect blade enclosure inventory, you will want to poll the UCSM VIP via the XML engine.
Take a look at https://communities.cisco.com/docs/DOC-37197 as this gives a good overview of UCSM monitoring.
Thanks,
Kirk...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide