cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dashboard API for device availability.

SOLVED
Comes here often

Dashboard API for device availability.

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Building a reputation

Re: Dashboard API for device availability.

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
Highlighted
Building a reputation

Re: Dashboard API for device availability.

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

Highlighted
Getting noticed

Re: Dashboard API for device availability.

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 ).

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.