Running WebNMS SNMPUtilities on openSUSE 12.1

WebNMS SNMPUtilities is a collection of utilities written in Java, the most useful of them might be MIB Browser.  It allows to you to connect to a SNMP service and browse it in a graphical interface.  You can load custom MIBs in it.

The problem with it is that it uses, by default, its own internal Java Runtime Engine (JRE) that is old and 32 bit.  It doesn’t work on x86_64, it gives an error like this:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/user/bin/WebNMS/SNMPUtilities/jre/lib/i386/xawt/libmawt.so: Can't load IA 32-bit .so on a IA 32-bit platform

This can be solved by configuring it to use the 64 bit openJDK that is included in openSUSE.

Edit the first line of the file SNMPUtilities.sh, change the value of the variable JAVA_HOME to this:

JAVA_HOME=/usr/lib64/jvm/jre

Now you can run ./SNMPUtilities.sh.  Choose from the menu Options/Settings/General.  There you have a field JAVA_HOME where you must enter the same value as above.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s