Can device interface statistics be queried through the API? I am looking to obtain bandwidth stats on uplink interfaces. (in kbps) SNMP doesn't offer specific bandwidth usage stats in kbps, and doesn't offer a time value (like uptime) to accurately calculate bandwidth.
Solved! Go to Solution.
The only statistics I know about being able to get via API is what interface are being used and the amount of sent and received data.
>Would netflow give you what you want?
There's a lot of overhead and excess data for which I don't really care about in Netflow. As well, Netflow is enabled for the whole site. Not just an interface; or a specific device. It's enabled "network wide". I don't know what that means. I have a firewall, switches and several wireless access points. Am I receiving an aggregate value of all devices?
That being said, I am trying to use Netflow, now. My system has the ability to collect Netflow data. Though that has its limitations too. At least I have a better insight into traffic utilization.
If you query the interface data volume every 60s then you can calculate the average bit rate. You don't need to worry about the timing on the device - you just need to time when you make your queries.