cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5984
Views
5
Helpful
5
Replies

Questions about Dashboard API, 'Get Network Clients' and 'Get Network Traffic'

NamgyuKim
Level 2
Level 2

1-1) Do you know why the smallest timespan of 'Get Network Clients' is 300 sec, and of 'Get Network Traffic' is 7200 sec?

* Get Network Clients: GET /networks/{networkId}/clients

* Get Network Traffic: GET /networks/{networkId}/traffic

1-2) And when I make codes to get data of total usage of clients and traffic, I get different usage updated per 1 minutes in 'Get Network Clients' using timespan=300 but I get same usage updated per 5~10 minutes in 'Get Network Traffic' using timespan=7200.

Why is the usage of 'Get Network Traffic' not updated as fast as possible?

2) In 'Get Network Clients', the number of clients suddenly decreases although employees work they always do.

Please see the image I attached. Anybody knows why this situation often occurs?

image.png

3) In Alert menu, Does the configuration of threshold mean total usage of all clients in the network? I'm not sure.

image.png

1 Accepted Solution

Accepted Solutions

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

The data is aggregated, not real time.

View solution in original post

5 Replies 5

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

The data is aggregated, not real time.

Thank you @Philip D'Ath for answering to my question.

You mean that the data is gathered for some periods and shown by API as not real time?

I also saw a client disconnected at 5pm but it was officially cut off in Meraki dashboard around 7pm.

Is this situation related to your answer?

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

>You mean that the data is gathered for some periods and shown by API as not real time?

Correct. Is aggregated data for the period of time selected.

For example, when I send API GET /networks/{networkId}/clients as setting timespan=300 at 9:00, is the data I get gathered from 8:55 to 9:00?

klaustecnico
Level 2
Level 2

Hello Namgyu.

I have the same problem you described in your post.

I am collecting the number of clients associated per Meraki Access Point or Network using the following URL:

In order to avoid the API Rate Limit I am collecting the result every hour using PRTG.

The timespan used inside the URL is also 3600 seconds (1 hour).

The problem is that the data is coming in a very inconsistent way.

image.png

Please, could you help me to understand how can I use the Meraki API timespan correctly ?

What is the recommended time interval to collect the connected clients ?

Regards,