I have a HP 2626 switch and want to monitor it by SNMP. how can i use the MIB file.
Any starting points on how to understand it ?
using snmpwalk
to get the data in a *nix machine and output it in a .txt file
How can i get a list of all the connected mac-addresses and coresponding ports by snmp from a HP Procurve 2626 ? And then how can i get current port utilization by SNMP?
See here: https://web.archive.org/web/20090323043038/http://www.sifizm.com/2009/02/19/using-snmpget-or-snmpwalk-and-a-vendor-mib-file/
On most Linux systems, the MIB files should go to
/usr/share/snmp/mibs
or probably/usr/local/share/snmp/mibs
.Put STRANGE-NEW-MIB.txt in the directory where all your other MIBs are stored (possibly
/usr/share/snmp/mibs
, but it may vary with distro, mine is Fedora 14), then dowhere you replace
public
with the real RO community strong,STRANGE-NEW-MIB
is the name of your new MIB without the .txt suffix (if memory serves), and1.2.3.4
is the IP address of your switch.