Forum Discussion
mikand_61525
Nov 23, 2008Nimbostratus
View current bandwidth for particular interface
Is it possible (with some built in command or such) to through ssh see how much bandwidth (in mbit/s or so) a F5 BigIp unit utilizes over a particular interface?
ifconfig can be used to see number of packets and tcpdump can be used to capture the actual traffic but I want for debugging purposes see how many mbit/s there are for a particular interface.
- hooleylistCirrostratusMaybe you could get this via SNMP? I'm not too sure on that. 'b interface' and 'b vlan' will give you cumulative packets and bits in/out, but not current throughput.
- mikand_61525NimbostratusHmm perhaps I could use "b interface" and "b vlan" in order to create a script that will count the diff in numbers of bytes passing through each second and this way get sort of a bandwidth meter (basically its for debugging purposes to see approx how many mbit/s there is on a particular interface). But it would be cooler if such thing already existed :)
- HamishCirrocumulusCan you get access to a copy of Cacti? Or if no existing one, do you have a box (Or even a VMWare session) that you could run something like EZCacti on? Then just poll the F5 with Cacti via SNMP and you'll be away laughing.
- mikand_61525NimbostratusSure I could use cacti or similar but that doesnt really solve my issue of being able to in cli see the approx bandwidth of a particular interface.
- JRahmAdminYou can check the status from any OS with Perl, just make sure the Net::SNMP module is installed. The interface map is from a 6400, if you have other interface names, you'll need to append them to the map. The end of the oids are ascii representations of the interface characters, and are preceded by the number of characters, so 1.1 in ascii is 3.49.46.49, and 1.10 is 4.49.46.49.48, etc.
- JRahmAdminArgh! I'll have to fix this and add as attachment. Standby...
- JRahmAdminOK, the perl script is attached.
- JRahmAdminI cleaned the script up a little bit and added the ability to loop through all interfaces as well. It is posted in the wiki:
- IT_Support_5777NimbostratusGood afternoon!
- HamishCirrocumulusBandwidth per URL? Or bandwidth per Virtual Server?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects