10-02-2023 05:54 AM
Is it possible to pull the usage information for MR AP's using the API? I've tried some of the usage
I want to setup an email alert if an AP does not have usage in the past x days/hours. I have had issues with some AP's and they need to be rebooted.
This information is on the web GUI as seen below
10-02-2023 06:29 AM
10-02-2023 06:52 AM
That usage is probably from : https://developer.cisco.com/meraki/api/get-network-wireless-usage-history/
10-02-2023 07:27 AM
@Raphletourn that looks like what I need. When I run it for my networks the totals don't match up
example in the dashboard for the past 7 days it shows 565.4MB for this one AP but this is what I get from the API
[{'startTs': '2023-09-25T00:00:00Z', 'endTs': '2023-09-26T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-26T00:00:00Z', 'endTs': '2023-09-27T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-27T00:00:00Z', 'endTs': '2023-09-28T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-28T00:00:00Z', 'endTs': '2023-09-29T00:00:00Z', 'totalKbps': None, 'sentKbps': None, 'receivedKbps': None},
{'startTs': '2023-09-29T00:00:00Z', 'endTs': '2023-09-30T00:00:00Z', 'totalKbps': 5, 'sentKbps': 0, 'receivedKbps': 5}, {'startTs': '2023-09-30T00:00:00Z', 'endTs': '2023-10-01T00:00:00Z', 'totalKbps': 26, 'sentKbps': 6, 'receivedKbps': 20}, {'startTs': '2023-10-01T00:00:00Z', 'endTs': '2023-10-02T00:00:00Z', 'totalKbps': 19, 'sentKbps': 2, 'receivedKbps': 17}]
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