Hi,
Sorry, for my English 😃
I want get network stats of interfaces vShield EDGE.
In docs, for example:
"
Query Statistics for Uplink Interfaces
Retrieves statistics for all uplink interfaces between the specified start and end times. When start and end time
are not specified, all statistics since the vShield Edge deployed are displayed. When no end time is specified,
the current vShield Manager time is set as endTime. Each record has the stats of 5 minutes granularity.
GET https://<vsm-ip>/api/3.0/edges/<edgeId>/statistics/interfaces/uplink
Request Body:
<statistics>
<meta>
<startTime>1336068000</startTime> <!-- in seconds -->
<endTime>1336100700</endTime> <!-- in seconds -->
<interval>300</interval> <!-- 5 mins interval -->
</meta>
<data>
.......
"
In docs used GET request, but in GET Request i cant't use Request Body.
How i can specify start and end time?
Hi Andrey,
Hopefully you've found the answer to this already. If not, I'm reasonably certain that you can get the results you want like this:
https://<vsm-ip>/api/3.0/edges/<edgeId>/statistics/interfaces/uplink?startTime=1336068000
Where '1336068000' is the time in seconds.
The documentation needs to be changed, because I read it the same way as you did - it seems to be saying that I need to send a Body in the GET request!
Cheers,
Dave
If you have vC Ops you can obtain the vCNS Management Pack from the solutions exchange to monitor these exact metrics.
Jonathan