cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
1
Replies

Is there a way to get Cisco UCS FI Port specific stats using the XML API

Neville George
Level 1
Level 1

I understand that stats are available via SNMP but is it also available via the API. I have seen example of Environmental metrics for CPU and FAN but cannot find anything related to Port stats (such as Rx, Tx, In%, Out%, etc)

1 Reply 1

Neville George
Level 1
Level 1

For those looking for the data in the API, you can find it here

<configResolveClass cookie="your-auth-cookie" inHierarchical="false" classId="etherErrStats" />

<configResolveClass cookie="your-auth-cookie" inHierarchical="false" classId="etherTxStats" />

<configResolveClass cookie="your-auth-cookie" inHierarchical="false" classId="etherRxStats" />

<configResolveClass cookie="your-auth-cookie" inHierarchical="false" classId="fcStats" />

These don't seem to be documented anywhere. If you read through the SNMP MIB you can find the managed object for most of the calls. I had to use API instead of SNMP since not all my UCSMs have the CIMC 1.4 (which expose the full UCS tree)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card