cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
661
Views
0
Helpful
2
Replies

Scripting UCS Blade Utilization

Hi Folks,

 

I was wondering if anyone knows of a way to use the XML-based scripting API to query blade utilization/performance metrics.  The closest thing that I can see is a description of UCS Perf Manager:
 
What I'm really hoping for is something like what can be found in these places:
 
While I certainly don't expect others to write my script, I could really use some help finding some underlying ClassId's or DN query combinations to find blade utilization information.
 
For example, if i send the following XML web request to a UCSM server, I can get a XML response that includes a bunch of basic info about blade servers:
'<configResolveClass cookie="{0}" inHierarchical="true" classId="computeBlade"/>'
 
The problem is, I just can't see where I can query CPU and Memory utilization.
 
Can anyone help me sort this out?  Thanks.
 
-Dave
1 Accepted Solution

Accepted Solutions

Kirk J
Cisco Employee
Cisco Employee

CPU utilization and memory utilization is something carved up at the OS level.

I'm not sure you are going to get that by polling the UCSM/BMC of a blade, unless the OS has some of driver/plugin passing that info up to the UCSM.

 

Thanks,

Kirk...

View solution in original post

2 Replies 2

Kirk J
Cisco Employee
Cisco Employee

CPU utilization and memory utilization is something carved up at the OS level.

I'm not sure you are going to get that by polling the UCSM/BMC of a blade, unless the OS has some of driver/plugin passing that info up to the UCSM.

 

Thanks,

Kirk...

Kirk,

Thanks for the reply.  I was hoping that this data existed somewhere in the product since Cisco has a Performance Manager offering that looks like it does this.  Perhaps the PM product installs said driver/plugin?  I could be wrong.

 

BTW, would you be able to point me towards an index of all the API methods and classIDs for UCS blades?  I've seen the examples of common tasks in the links above, but nowhere can I seem to find a definitive list of everything that's available.  I'd love to see what's avail that I don't already know about.

 

Thanks!

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card