Using API to retreive uplink statistics

lpopejoy
Building a reputation

Using API to retreive uplink statistics

I would like to be able to query the MX to retreive packet loss for the past 60 min for an appliance.  Somehow, we need to be able to be alerted if an MX is experiencing higher than normal packet loss.  There is no built in alerting for this, thus the reason I'm considering the API.  However, none of the API endpoints appear to return this data.

3 REPLIES 3
lpopejoy
Building a reputation

Re: Using API to retreive uplink statistics

Here's the current API documentation for uplink info:  https://dashboard.meraki.com/api_docs#return-the-uplink-information-for-a-device

TonyC
Meraki Alumni (Retired)

Re: Using API to retreive uplink statistics

Take a look at these two endpoints, they're purpose built for your use case. Let us know if you have any feedback!

 

Org-wide loss/latency, last 5 samples

https://dashboard.meraki.com/api_docs#return-the-uplink-loss-and-latency-for-every-mx-in-the-organiz...

 

Device loss/latency timeseries

https://dashboard.meraki.com/api_docs#get-the-uplink-loss-percentage-and-latency-in-milliseconds-for...

 

Weggy
Conversationalist

Re: Using API to retreive uplink statistics

Hi,

 

Did you ever find a solution to your need to report / alert on MX device uplink packet loss? 

 

Thanks.

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.