Community Record
3
Posts
0
Kudos
0
Solutions
Oct 25 2024
9:17 AM
HI, thanks for your reply It's actually a good idea but the numbers don't add up: I'm collecting an 11.62Mbps usage via getNetworkClientsBandwidthUsageHistory But if i multiply getNetworkClientsOverview clients and average i obtain different values (13*96734) We also noticed that within the dashboard itself bandwidth's usage is different based on where you look for it
... View more
Oct 23 2024
2:29 AM
Hi sungod, thanks I've just tried using this API since i have at least 1x MX in every network but i receive a timeout error; I found this post in the community where it's suggested to use the node/shard FQDN of the client but nothing seems to change. Meraki API timeout after 120 seconds - The Meraki Community I've also tried using the same API on another client's Org but that client had also two thousand networks and it returned the timeout error too..
... View more
Oct 22 2024
8:52 AM
Hi everyone I've been trying to get each network's last day bandwidth usage with getNetworkClientsBandwidthUsageHistory(NetworkId) and it returns a list of dict where every element represents a capture of a 20 minutes slot (73 elements for a 24h timespan) and if i want to get the total of upstream, downstream and total i need to sum each key of the 73 dicts to get a unique one with the 24h sum Example: [
{
"ts": "2024-10-21T15:40:00.000Z",
"total": 13.733489583333334,
"upstream": 3.972428385416667,
"downstream": 9.761061197916666
},
{
"ts": "2024-10-21T16:00:00.000Z",
"total": 11.941809895833334,
"upstream": 3.28517578125,
"downstream": 8.656634114583333
},
{
[...]
},
] I've also tried using getOrganizationSummaryTopNetworksByStatus(OrganizationId) that runs at an organization level and that also gives me other information i need for other functions beside the last 7 days bandiwth Example from DevNet: [
{
"networkId": "N_24329156",
"name": "Main Office",
"url": "https://n1.meraki.com//n//manage/nodes/list",
"tags": [ "tag1", "tag2" ],
"clients": {
"counts": { "total": 72 },
"usage": {
"upstream": 3732658.44,
"downstream": 983732658.87
}
},
"statuses": {
"overall": "online",
"byProductType": [
{
"productType": "wireless",
"counts": {
"online": 2,
"offline": 1,
"alerting": 0,
"dormant": 3
}
}
]
},
"devices": {
"byProductType": [
{
"productType": "wireless",
"url": "https://n1.meraki.com//n//manage/nodes/new_list/000000000000"
}
]
},
"productTypes": [
"appliance",
"switch",
"wireless"
]
} The fact is that i need to run these calls for more than three thousands networks and it takes too much time to process, expecially the one that runs at an Organization level Do you know any other API I can use to get each network's banwidth usage?
... View more