Monthly Meraki MX uptime report script?

Vbardy
Here to help

Monthly Meraki MX uptime report script?

Does anyone here in the forum know if a script I could run to retrieve the Meraki MX uptime from the sites in my portal that I can download to a csv spreadsheet?  I am currently updating this information manually each month from the summary page for each boutique and its KILLING ME! 

 

Please let me know if you do.

 

Thank you.

4 Replies 4
PhilipDAth
Kind of a big deal
Kind of a big deal

I am not aware of this being available via the API.

ConnorL
Meraki Employee
Meraki Employee

Device Uptime is not officially available for the MX at this time, curious about your business requirement/use case for reporting this data organisation-wide wide though (I assume it's SLA based?).

 

https://documentation.meraki.com/General_Administration/Monitoring_and_Reporting/Device_Uptime

Hello Connor,  We have SLA's with our ISP's so this is required tracking.  What I currently do is a painful manual process where I go the the summary report page, punch in the dates for the previous month and scroll to the bottom of the page to get the percentage uptime.  There are hundreds of sites and the entire process is manual.  I find it hard to believe there is no way to submit an API call that includes this information in the get parameters.  The information is right there.  

sungod
Head in the Cloud

There's no published API call for this.

 

There are two early-access API calls that can be used to calculate availability (not differentiated between device/ISP failure, but probability is that mostly it'll be ISP failure rather than device failure)...

 

Currently we calculate availability across multiple organizations by using this call to log status every 5 minutes, then use the date to calculate availability across the SLA period...

https://developer.cisco.com/meraki/api-v1/api-reference-early-access-api-platform-monitor-devices-st...

 

 

There is a potentially more efficient way using the newer call (I'm not migrating to it unless/until it goes general release)...

https://developer.cisco.com/meraki/api-v1/api-reference-early-access-api-platform-monitor-devices-av...

 

Get notified when there are additional replies to this discussion.
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.