Wireless Health - Connection Logs vs API

RaphaelL
Kind of a big deal
Kind of a big deal

Wireless Health - Connection Logs vs API

Hi ,

 

We are doing a huge revamp of our Wireless infrastructure. 

 

We are now deploying MR36 accross all sites ( 1000++ sites ) and I'm currently looking at the stats available in the dashboard.  In the Dashboard , Wireless -> Health -> Connection Logs  , I can easily see which SSID is in trouble and which client and so on. So I was curious to automate this process with the API. 

 

I'm using this endpoint :  /networks/{networkID}/wireless/devices/connectionStats?timespan=86400&ssid={SSIDid}

 

But it is giving me completly different stats from the Dashboard. 

 

Ex : 

{"serial":"Q3AJ-XXXX-XXXX","connectionStats":{"assoc":1,"auth":163,"dhcp":0,"dns":0,"success":84}}

 

RaphaelL_0-1646410858444.png

 

I only have 46 Auth errors for that given AP according to the dashboard.  46 != 163. Same period

 

This behavior is present will all error types ( assoc , auth , dhcp , dns ) and seen on Networks with or without a template. 

 

I have opened a case about that. 

 

Has anyone ever experienced that ?

 

I would expect the connectionstats and the connectionlogs to give me the same amount of errors. In the dashboard it is named ''failure type'' , but I guess failure = error in my book. 

 

Thanks , 

5 Replies 5
Ameya_Ahir
Meraki Employee
Meraki Employee

Hey @RaphaelL,

 

Thank you for bringing this to our attention. I had a quick question. Can you navigate to Dashboard > Wireless > Specific AP <Q3AJ-XXXX-XXXX> > Timeline and filter for "Authentication" in the connection step for the selected time period and compare the values from the indicated API and this page? 

Currently, we are in the process of upgrading the backend algorithm for the data that is surfaced in the Connection Log tab to make it more consistent with the API. We have already updated the data in the AP timeline view and it should match more closely with your API output if the timestamps selected are exactly the same across Dashboard and the API call.

 

 

RaphaelL
Kind of a big deal
Kind of a big deal

Hi @Ameya_Ahir  ,

 

I was able to update Meraki Case 07733973 , if you ever want to have all the specific details ( S/N , timestamps and so on ). 

 

The latest update is : "It looks like the Wireless Health Connection Log pulls from the same info as get Network Wireless Connection Stats, however Connection Log does not count for bursts of connection failure attempts. For example, if a client fails to connect 3 times in a very short amount of time, the API call will log all 3 of those attempts, however Connection Log sees this as only 1 failed connection attempt. If we have enough clients attempting to connect, that would explain why these two are giving us such different answers."

 

But I was able to find some case that the reported info is different from SSID to SSID and versus the dashboard and the API.

 

Thanks 🙂 

RaphaelL
Kind of a big deal
Kind of a big deal

Hi ,


Thanks for the quick reply ! 

 

I was able to compare these endpoints (the output is identical 😞 

 

/devices/{serial}/wireless/connectionStats : 

{"serial":"Q3AJ-XXXX-ZEAP","connectionStats":{"assoc":12,"auth":179,"dhcp":3,"dns":0,"success":203}}

/networks/{networkId}/wireless/devices/connectionStats : 

 

[{"serial":"Q3AJ-XXXX-ZEAP","connectionStats":{"assoc":12,"auth":179,"dhcp":3,"dns":0,"success":203}}]

 

 

Also when comparing the Wireless Health page from the network vs the Access Point I do get different results.

 

Wireless -> Access Points ->  ( Selecting my AP Q3AJ-XXXX-ZEAP ) -> Connections ( selecting last day 😞

says 0 errors

RaphaelL_0-1646429332834.png

 

 

Wireless -> Health -> Connections Log  ( Filtering Selecting my AP Q3AJ-XXXX-ZEAP ) :

got 54 results

 

RaphaelL_1-1646429540388.png

Finaly , the test that you just suggested ( the timeline page ) showed me 54 results which is the same as the Wireless -> Health -> Connections Log ( good news ) 

 

TLDR ;  The 2 pages are not showing the same info and the API is not giving me the same info also.

 

Thanks ! 🙂 

 

AxL1971
Building a reputation

I have done quite alot of work with API since migrating to Meraki AP's earlier this year, and this query will return all wireless client connected in the last 5 mins

 

https://api.meraki.com/api/v1/networks/<NetworkID>/wireless/clientCountHistory?timespan=300&resoluti...

 

 

RaphaelL
Kind of a big deal
Kind of a big deal

Thanks for the info , but this endpoint is not related to wireless Health. 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels