Hi all,
I'm wondering if there is any way to determine the dimension/order of the values that are returned by the Meraki API getNetworkApplianceTrafficShapingUplinkBandwidth function?
The documentation of the function doesn't mention anything about the numbers returned:
https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-traffic-shaping-uplink-bandwidth
Are these bits, bytes, megabits, megabytes, who knows, the numbers seem quite low compared to the actual bandwidth utilization so i'm guessing kilo's or mega's are involved and also it may be bytes rather than bits, but it's impossible to tell as it's undocumented.
If you have a look at this function, you will notice that it nicely says the meaning of the numbers that are returned, i.e. they're in the order of bytes.
https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-uplinks-usage-history
Since the dimensions here are known i can calculate the averabe bandwidth usage over the given time period so i can get to a number of bits per second.
Having the order of the numbers of the traffic shaping function (and if configured correct for our purpose) i could calculate the average utilization percentage of the uplink ports with that.
The purpose here is that we have hundreds of different models of MX devices with different uplink bandwidth capabilities in different locations so if we'd set the shaping values max bandwidth we can see if a device/bandwidth is underspecced or not if it keeps hitting at or close to 100% utilization.