cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
66
Views
0
Helpful
4
Replies

Catalyst center API client count

aflbakker
Level 1
Level 1

Hi,

I'm trying to fetch client count statistics via Catalyst API : /dna/data/api/v1/clients/count

I apply basic filtering to only give the count of a certain Building and floor. 

The number i get returned does not match the number I see in Catalyst GUI or WLC. Both Catalyst GUI and WLC DO match so I presume the correct data should be present, somehow at least. The number I get (i tested multiple buildings and floors) is almost double of the actual clients which are present. I already tested with filtering on SSID Any clue what could be happening ? 

4 Replies 4

Wild guess, check if the API is returning real time data or aggregated data over a specific time period. I had a look at the docs quick, but could not see any notes on data refresh intervals.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

aflbakker
Level 1
Level 1

I also tried to filter on startime (EPOCH time) but got similar results. Somehow it doesn't add up.

What happens if you collect total client count without any filters and compare it to the GUI/WLC to isolate whether the issue is with the filtering logic, same?

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

aflbakker
Level 1
Level 1

Yes, the nr. is more or less double of the actual connected clients.