« Back to Technical Discussions

Performance stats via XML in UCSPE

Combination View Flat View Tree View
Threads [ Previous | Next ]
Is there a way I can alter performance stats of blade/chassis/FIC in UCSPE through XML api?
Basically, we want to simulate performance data as per our test criteria but I only find 'read-only', I can't change the values like AdapterVnicStats, AdapterEthPortStats..
 
Thank You
Shiva

Hi Shiva,

As per my understanding, we can modify the collection policy to make changes in to stats. For that purpose, lets say I want to update both collection interval and reporting interval to 30 secs then i have to post the below XML Request

 1<configConfMos cookie=""
 2inHierarchical="false">
 3  <inConfigs>
 4    <pair key="stats/coll-policy-port">
 5      <statsCollectionPolicy collectionInterval="30seconds"
 6      dn="stats/coll-policy-port" reportingInterval="30minutes"
 7      status="modified"></statsCollectionPolicy>
 8    </pair>
 9  </inConfigs>
10</configConfMos>


Let me know, if this works for you.

Thanks for response Dilip.

I want to SET the values of the stats using api, you approach will give stat values in less interval but the values may not change every time.

Any clues?

Shiva

Could you please post a screenshot from where you are changing those values in GUI. Only then I will be able to look in to it further