Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Greetings to all.
I am looking for an shell/console bandwidth monitor that can measure bandwidth stats on remote switch interfaces/ports using snmp. Strictly no graphing, just average interval stats in a console. I do not mind if it is an ncurses console but would just prefer a simple kind of perl or shell script. I did have a go at writing one, but the results are just not what i expected....
I would be most grateful if anyone that knows of one points me in the right direction.
if you want to know a bandwith and nothing more, IMHO snmp is an excessive tool for you; snmp uses ifconfig's statictics for its calculations; you can do the same work without snmp
for example, the following script will continuously out put the specified interface statistics:
Hey igor, very big thanks for that, but you see my issue is i need stats from a remote switch interface - hence me needing a tool/program that works with snmp...
Well i can get the raw data using snmpwalk anyway. The data is returned in octets.
What i want is something that could convert the data the way cacti or any other rrdbased graphing tool does.
Even something like bwm-ng would do - if it could monitor remote switch ports/interfaces.
Any suggestions??
My perl isnt good enough to come up with a decent script...
Of course i could learn it properly, but i a solution in the next couple of days....
check the output of this snmpwalk
snmpwalk -v 1 -c public 192.168.11.211 interfaces.
????
That doesnt help much ...like i said, i can already gather the raw snmp data in octets using snmpwalk....
Just want to know if anyone knows of a console program that does this, but also converts the data in a format like cacti or mrtg might do it.
Anyone else??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.