<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Monitoring WAN (wan1 and wan2) and  Bandwidth utilization ( and %) Calculation in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402913#M847</link>
    <description>&lt;P&gt;1) Yes thats right , I was referring to the the org level call - &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network&lt;/A&gt; . So the Org level call always shows the active Interface but the values will be aggregated ? The network level call &lt;SPAN&gt;gives the data for each interface separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Thanks , I think from the monitoring standpoint considering all the endpoints available or known to us, this is the best approach. Agreed that Cellular limits are not guaranteed.  We do collect the loss and latency and now adding the bandwidth , all at a 5 min polling interval . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)So the circuit availability could be inferred from the uplink status calls  . We do collect that information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1069"&gt;@jscorb&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 15:09:28 GMT</pubDate>
    <dc:creator>ag-scilo</dc:creator>
    <dc:date>2024-01-29T15:09:28Z</dc:date>
    <item>
      <title>Monitoring WAN (wan1 and wan2) and  Bandwidth utilization ( and %) Calculation</title>
      <link>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402910#M844</link>
      <description>&lt;P&gt;Hello Meraki team,&lt;/P&gt;&lt;P&gt;  Firstly thanks for super quick accurate responses for our prior questions. Its very helpful.&lt;/P&gt;&lt;P&gt;We need to find out WAN Bandwidth utilisation and WAN Bandwidth Utilisation percentage . Assuming the following are the best API endpoints for our requirement&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Considering the rate limiting ,the org level calls makes sense to us.&lt;/P&gt;&lt;P&gt;The Org level call &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history&lt;/A&gt;  however states that "i&lt;SPAN&gt;f more than one device was active during the specified timespan, then the sent and received bytes will be aggregated by interface."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) If there are two devices active in any timespan say , wan1 and wan2 does this org level endpoint display both the interfaces say Wan 1 and wan 2   but the data for those will be from both devices aggregated? OR does it mean that there will always be a Single Interface wan1 OR wan2 in the response with an aggregated value . We dont have a multiple wan active setup so its hard to find out. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Could you please validate our formulas for Wan bandwidth &lt;/SPAN&gt;utilisation&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WAN bandwidth utilization ( in kbps) = Sent Bytes( or Received Bytes) / &lt;/SPAN&gt;125  * resolution&lt;/P&gt;&lt;P&gt;For bandwith util % we intend to use the endpoint - &lt;A href="https://developer.cisco.com/meraki/api/get-network-appliance-traffic-shaping-uplink-bandwidth/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api/get-network-appliance-traffic-shaping-uplink-bandwidth/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;WAN1/Wan2 bandwidth utilisation percentage = WAN bandwidth utilization(in kbps) /  Banwidth Limits for WAN (in kbps)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;3) Is there any API endpoint that gives us the Availability of a WAN circuit ? Or is there any way to find out about WAN circuits ?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 17:17:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402910#M844</guid>
      <dc:creator>ag-scilo</dc:creator>
      <dc:date>2024-01-26T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring WAN (wan1 and wan2) and  Bandwidth utilization ( and %) Calculation</title>
      <link>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402911#M845</link>
      <description>&lt;P&gt;This may not answer your question, but i think you should look into Meraki Insights. From what i'm reading it solves all your wan calculation questions.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 10:17:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402911#M845</guid>
      <dc:creator>martin-lystad</dc:creator>
      <dc:date>2024-01-27T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring WAN (wan1 and wan2) and  Bandwidth utilization ( and %) Calculation</title>
      <link>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402912#M846</link>
      <description>&lt;P class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt;&lt;SPAN&gt;The Org level call &lt;/SPAN&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history&lt;/A&gt;&lt;SPAN&gt;  however states that "i&lt;/SPAN&gt;&lt;SPAN&gt;f more than one device was active during the specified timespan, then the sent and received bytes will be aggregated by interface."&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px" style="padding-left : 30px;"&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You are mixing up the calls, this usage-history call does not say interfaces will be aggregated (it is the usage-by-network call that may do that.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-appliance-uplinks-usage-history/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-appliance-uplinks-usage-history/&lt;/A&gt; gives the data for each interface separately.&lt;/P&gt;&lt;P&gt;2. Yes you can calculate bps that way.&lt;/P&gt;&lt;P&gt;But using the &lt;A href="https://developer.cisco.com/meraki/api/get-network-appliance-traffic-shaping-uplink-bandwidth/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api/get-network-appliance-traffic-shaping-uplink-bandwidth/&lt;/A&gt; call is problematic unless you have a guaranteed throughput on the WAN circuit and are consistently/accurately setting the limits on each interface. But on a cellular or typical ISP connection, you will not have a guaranteed fixed bandwidth, so you cannot rely on this method.&lt;/P&gt;&lt;P&gt;Another factor is that the highest resolution is 60 seconds, the throughput in that 60 seconds could be, say, 50Mbps, and your link speed 100Mbps, however if traffic is bursty you may be hitting the link speed limit many times in the 60 second period resulting in application performance issues even though it looks like you are only using 50% of capacity.&lt;/P&gt;&lt;P&gt;I would also look at loss and latency as it may give a better perspective &lt;A href="https://developer.cisco.com/meraki/api-v1/get-device-loss-and-latency-history/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-device-loss-and-latency-history/&lt;/A&gt; you need to call this for each interface on a device.&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;If your sites are single WAN connection, you could use this to infer WAN availability &lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-devices-availabilities-change-history/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-devices-availabilities-change-history/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Chances are if a device is unavailable it's the WAN, but ultimately you still would need to do some manual mitigation to exclude cases where you know it was the MX or some other issue.&lt;/P&gt;&lt;P&gt;In a multi-link environment maybe you could use &lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-appliance-uplink-statuses/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-appliance-uplink-statuses/&lt;/A&gt; but this requires you to poll, there's no history available,&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 13:33:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402912#M846</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-01-27T13:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring WAN (wan1 and wan2) and  Bandwidth utilization ( and %) Calculation</title>
      <link>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402913#M847</link>
      <description>&lt;P&gt;1) Yes thats right , I was referring to the the org level call - &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-uplinks-usage-by-network&lt;/A&gt; . So the Org level call always shows the active Interface but the values will be aggregated ? The network level call &lt;SPAN&gt;gives the data for each interface separately.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Thanks , I think from the monitoring standpoint considering all the endpoints available or known to us, this is the best approach. Agreed that Cellular limits are not guaranteed.  We do collect the loss and latency and now adding the bandwidth , all at a 5 min polling interval . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3)So the circuit availability could be inferred from the uplink status calls  . We do collect that information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1069"&gt;@jscorb&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 15:09:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/monitoring-wan-wan1-and-wan2-and-bandwidth-utilization-and/m-p/5402913#M847</guid>
      <dc:creator>ag-scilo</dc:creator>
      <dc:date>2024-01-29T15:09:28Z</dc:date>
    </item>
  </channel>
</rss>

