Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Python Rest Nsx API Call with invalid values

$
0
0

Hi,

 

I'm trying to get the values displayed on Interface throughput statistics dashboard through Monitor tab of the Edge..Specifically for regarding vnic0 and vnic2 (my case) .

Thereby, as per https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.3/nsx_63_api.pdf  -  

I have tried:

- /api/4.0/edges/edge-1/statistics/dashboard/interface  - It returns some values, However, when I compared it with values informed in the dashboard, there are differences. For example: Max value informed in the dashboard is greater then gathered by API.

 

Also, i tried different combinations like:

 

- /api/4.0/edges/edge-1/statistics/interfaces/uplink'

 

-/api/4.0/edges/edge-1/statistics/interfaces/internal'

 

-api/4.0/edges/edge-1/statistics/interfaces' -Huge array - even filtering with last values (1H) . It does not match. .

 

 

Wondering if someone know how to get the the values informed\displayed on Interface throughput statistics dashboard  of the edge. ..or even, it exists thourgh API.

 

thanks in advance!


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>