- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Connected Client Count per Access Point
What Organization or Network-level endpoint might I call to get the number of connected clients per Access Point? Previously we were getting this via snmp.meraki.com, but that has proven to be unreliable.
Maybe it's possible with this endpoint by totaling the number of clients grouped by recentDeviceName or recentDeviceSerial?
https://api.meraki.com/api/v1/networks/:networkId/clients
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-client-count-history seem to have what you are after if you filter by device serial.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have written such a API that collects this information writes its to a back end database and has a on premise web page to see client connections per AP and network
I will dig out the code and post it here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
with my solution I get notification if the client count per AP reaches 30 client also did another API that collects AP utilisation in % for the 2.4 and 5Ghz and again alerts me if utilisation goes above 90%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Agreed, that the clients endpoint provides richer information and uses the same number of calls. Is your solution published anywhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the API I call to get client count per AP
I pass the network ID, the band either 2.4 or 5 Ghz abd serial number of the AP, the time span I use is 10 minutes and this API is called every 10 minutes.
Once the results are returned back as a json file, I then do the processing to extract the details and write to a back end SQL database. I then have a Power BI report that can graph the AP client count over a period of time.
I did a very quick and dirty way to get this information am sure there is a better way but dont have time to look into this. For my purpose, the above works for me and been running past 12 months
More info here
https://developer.cisco.com/meraki/api-latest/#!get-network-wireless-client-count-history
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is great, it’s just an expensive API call in large environments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the code I use. I also have code to dump the information to a spreadsheet.
https://github.com/jadexing/Merakicode/blob/main/UserCountPerNetwork