cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5238
Views
3
Helpful
12
Replies

Pull Network Status via API

Chhaya-Cricket
Community Member

iam working on PS script and would like to pull the Network status using API.

I tried many ways but still no luck . i used below API -

/organizations/{organizationId}/devices/statuses/overview

GET /networks/{networkId}/devices GET /networks/{networkId}/devices?online=false

GET /devices/{serial}/wireless/healthScores?uptime=week

can anyone please help me exporting this data via API GET

12 Replies 12

Could you explain a bit more what you're trying to do please? Exactly what statuses are you looking to get?

---
COO
Highlight - Service Observability Platform
www.highlight.net

Chhaya-Cricket
Community Member

iam trying to pull the Network status - if its online, offline , alerting , this status is not getting pulled by API ..i need some help to get the correct API

image.png

Chhaya-Cricket
Community Member

sure ..let me try this..Thank you for the information

Chhaya-Cricket
Community Member

i tried still l not retrieving correct status, also i see in the API documentation its been Deprecated

image.png

Hi, yes that call is deprecated - you need to use the Get Organization Devices Availabilities call

What errors or output are you getting?

---
COO
Highlight - Service Observability Platform
www.highlight.net

Chhaya-Cricket
Community Member

iam not getting any error , the Device status pulled in not correct as per my tenant ...i have almost 100+ networks online ,however the script is showing as Offline and unknown

for MX68 AND MR28

Sorry it's hard to know what's going on without seeing more detail. If you'd like, I'm happy to put your org into our service observability app and we can see from that what the API is reporting as up or down?

https://marketplace.cisco.com/en-US/listing?q=Highlight&locale=en-US

---
COO
Highlight - Service Observability Platform
www.highlight.net

kmcgaugh
Level 3
Level 3

I am also trying to figure out a way to pull this myself. It seems like there is no simple API call that does that according to the API documentation...

Kaleb Mohr, CCNA. | Network Engineer
https://www.linkedin.com/in/kaleb-mohr

I am not an employee of Cisco or Cisco Meraki.

obrigg
Meraki Employee All-Star
Meraki Employee All-Star

Have you tried Martin's suggestion to use the Get Organization Devices Availabilities call?

harmank78
Community Member

I would like to do this, as well: Have a script check for any networks that are offline (and send me the report). Have you gotten the solution? Can anyone else advise?

I check the dashboard once every morning for down networks. I would prefer an automated script to run and send me a report of down networks once per morning.

Thanks a bunch.

KH

I got it. ChatGPT helped me figure it out.