cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1977
Views
4
Helpful
3
Replies

API question

dsekely_brs
Community Member

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

image.png

3 Replies 3

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

dsekely_brs
Community Member

@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}]


Review Cisco Networking for a $25 gift card