Dashboard API for device availability.

Solved
Ritish
Comes here often

Dashboard API for device availability.

Is there any api for getting the info for device availability?

1 Accepted Solution
CBurkhead
Building a reputation

You should be able to use GET /organizations/{organizationId}/deviceStatuses to retrieve the status of the devices in an organization. Anything that is not "offline" should be accessible.

View solution in original post

2 Replies 2
CBurkhead
Building a reputation

You should be able to use GET /organizations/{organizationId}/deviceStatuses to retrieve the status of the devices in an organization. Anything that is not "offline" should be accessible.

BrianP
Getting noticed

Are you referring to Device Status?  If so @CBurkhead is correct and that call should be sufficient.  If you are looking for availability statistics like if a device is up for 99% of a time period, then they don't have a specific call for that.

 

You can use the GET /networks/{networkId}/devices/{serial}/lossAndLatencyHistory endpoint to get the packet loss info for a time period.  The inverse of that is close to availability (depending on the availability calc you are going for ).

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.