01-08-2025 06:27 AM
In the dashboard, under Wireless > Access Point, when I choose a specific AP, I can see its status.
If the status is "alerting", there is a orange rectangle above the map with the reason for the alerting. Or red rectangle on case of error. See example in the attached image.
What is the API I can use to get this error message (reason)?
01-08-2025 06:35 AM
I believe you are looking for health alerts:
(Deprecated: This operation has been marked as deprecated, which means it could be removed at some point in the future.)
https://developer.cisco.com/meraki/api-v1/get-network-health-alerts/
Replaced with:
https://developer.cisco.com/meraki/api-v1/get-organization-assurance-alerts/
01-08-2025 06:55 AM
import meraki
dashboard = meraki.DashboardAPI("")
organization_id = ''
print("orgID")
all_networks = dashboard.organizations.getOrganizationNetworks(organization_id, total_pages='All')
for a in all_networks:
#print(a['name'])
network_alerts = dashboard.networks.getNetworkHealthAlerts(a['id'])
count = 0
for n in network_alerts:
print(n)
if n['type'] == "Uplink IP address in conflict with another device":
print(n)
with open("C:\\data\\logs\\networkswithissues.txt", "a") as f:
f.write(str(n))
count += 1
print(f"{count} networks.") You can also do it with the Meraki Python module. This filters just for IP conflicts.
This ultimately uses the same endpoint that @Andy Mikulas shared, so may not work long-term.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide