Dashboard throughput API

Solved
Jonee90
Conversationalist

Dashboard throughput API

My name is Jonathan.
I'm doing a test with PHP together with the Meraki API.
I would be needing extra information about the possibility of performing a speed test (throughput) for each organization within the panel.
In the documentation I don't see anything related to this test.
Can you tell me how to proceed?

 

2019-07-19_13-23.png

 

Greetings .

1 Accepted Solution
shuaib1014
Here to help

Yes, I was assuming the same. Thanks for your help!

View solution in original post

8 Replies 8
PhilipDAth
Kind of a big deal
Kind of a big deal

There is no such API to do this test.

 

Also this is a test to the Meraki cloud.  You can't put a lot of faith in this measuring the actual maximum thoughput of your ISP circuit.  It is just a general guide.

Jonee90
Conversationalist

Thank you very much for your reply.
In any case I will look for some macro for the web browser to do it in about 2000 Organizations

shuaib1014
Here to help

Hi, did you manage to find the API for Dashboard Throughput? I am also looking for the same API.

 

Your help would be much appreciated.

Jonee90
Conversationalist

So far there is no possibility to do it by API .

shuaib1014
Here to help

Thanks for the quick reply!

 

Did you manage to find a solution for yourself? If so, how did you go about solving the issue?

Jonee90
Conversationalist

For the moment the only solution was to create a script in python and selenium to enter each Network and perform the test.

shuaib1014
Here to help

Yes, I was assuming the same. Thanks for your help!

Del_B
Conversationalist

Here is a solution using Python under APIv1.  Create the test and after 10 seconds retrieve the results.  Assuming you pulled the active MX's serial or manually added it above this portion. 

response = dashboard.devices.createDeviceLiveToolsThroughputTest(serial_number)
throughput_test_id = response['throughputTestId']
time.sleep(12)
response = dashboard.devices.getDeviceLiveToolsThroughputTest(serial_number, throughput_test_id)
print(f"Download throughput {response['result']['speeds']['downstream']}/Mbps")
Get notified when there are additional replies to this discussion.