I'm trying to understand the way the API `getDeviceSwitchPortsStatusesPackets` works.
I found this topic https://community.meraki.com/t5/Developers-APIs/How-frequently-are-switch-port-status-packets-update... which says the counter are updated about every 5m.
I run a script which send request with timespan=900 for 5 times, with 15m delay between them (total time is 1h).
Right after it finish, the scripts run request with timespan of 1500, 1800, 2100, 2400, 2700, 3000, 3600.
Here is the results of the total counters from my lab:
Total Sent Received
-------- ------ ------ ----------
900 #1 4208 2677 1531
900 #2 4283 2726 1557
900 #3 4197 2704 1493
900 #4 3807 2479 1328
900 #5 4201 2679 1522
1500 25m 3989 2622 1367
1800 30m 3989 2622 1367
2100 35m 3989 2622 1367
2400 40m 15755 10293 5462
2700 45m 15755 10293 5462
3000 50m 15755 10293 5462
3600 60m 15755 10293 5462
I expected that the [1800 30m] will the summarize of [900 #4] and [900 #5], but it doesn't. It's not even close. Pay attention that the last [2100 35m] are less than the last 15m [900 #5]. Is it possible!?
I expected that the [3600 60m] will the summarize of [900 #2] till [900 #5], but it doesn't. It close, but not exactly.
I tested it several times, and it always strange.
Am I missing something?