Exceeding Meraki API Rate Limit (5 calls/sec per org);
search cancel

Exceeding Meraki API Rate Limit (5 calls/sec per org);

book

Article ID: 138933

calendar_today

Updated On:

Products

CA Virtual Network Assurance

Issue/Introduction

We need a list of what API's are being hit within Meraki dashboard as we're exceeding our rate limit as an organization.

Environment

Release : 3.7

Component : Virtual Network Assurance For CA Performance Management

Resolution

Here are the API calls made to the Meraki Controller by VNA:

Inventory Poll

${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/organizations
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/organizations/#{orgId}/licenseState
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/organizations/#{orgId}/networks
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/organizations/#{orgId}/deviceStatuses
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/devices
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/devices/#{deviceId}/uplink
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/devices/#{deviceId}/clients?timespan=${INVENTORY_DELTA_TIME}
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/ssids
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/devices/latencyStats?timespan=604800&ssid=#{ssid}
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/ssids/#{ssid}/l3FirewallRules
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/organizations/#{orgId}/vpnFirewallRules
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/l3FirewallRules
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/l7FirewallRules
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/cellularFirewallRules
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/siteToSiteVpn

Performance Poll

${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/devices/#{serialId}/lossAndLatencyHistory?uplink=#{uplink}&ip=#{ip}&timespan=${PERFORMANCE_DELTA_TIME}&resolution=${PERFORMANCE_DELTA_TIME}
${PROTOCOL}://${MERAKI_DASHBOARD_HOST}/api/v0/networks/#{networkId}/devices/#{serialId}/performance

The following configuration options are available in Meraki plugin template to adjust the frequency of the REST calls:
- INVENTORY_POLL_RATE - To update the polling interval of Inventory poll or to stop it completely
- PERFORMANCE_POLL_RATE - To update the polling interval of Performance poll or to stop it completely
- DELAY_BETWEEN_REST_CALLS_IN_MS - Delay between the REST calls in each of the polls
- MAX_RETRIES - The maximum number of time a REST call is retried if it returns HTTP code 429 (Too many requests) in response
- RETRY_DELAY_IN_MS - How much time it waits before retrying a REST call