mbrowse is a tool to browse MIB file , issue snmpget / walk with GUI.
http://mbrowse.sourceforge.net/
Here are logs including trial and error when installing mbrowse on Mint 12.
[ install mbrowse ]
# lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 12 Lisa Release: 12 Codename: lisa # uname -ri 3.5.0-21-generic x86_64 |
download mbrowse from http://sourceforge.net/projects/mbrowse/files/0.4.3/
# wget http://sourceforge.net/projects/mbrowse/files/0.4.3/mbrowse-0.4.3.tar.gz |
# tar xzvf mbrowse-0.4.3.tar.gz # cd mbrowse-0.4.3/ |
# ./configure *** *** Could not locate any version of ucd-snmp or net-snmp *** *** Either it is not installed, or installed in a bizarre location. *** *** Try using one of the following switches: *** --with-snmp-prefix=PFX *** --with-snmp-include=DIR *** --with-snmp-lib=DIR *** # |
it seems that net-snmp is required.
install net-snmp
# apt-get install snmp snmpd libsnmp-dev -y |
try again.
# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for snmp-type... net checking for net-snmp >= v4.2... yes checking for bprintf in -lsnmp... no checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.24.13) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands |
compile
# make # make install |
# which mbrowse /usr/local/bin/mbrowse |
[ usage ]
copy third party’s MIB files etc to /usr/share/mibs/netsnmp directory if you would like to.
# cp mibs/* /usr/share/mibs/netsnmp/ |
Please note that a stored directory for MIB files would differ from Linux distributions.
launch mbrowse
mbrowse |
You can browse MIB file and also issue snmpget / walk via GUI
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.