How to Test Kemp LoadMaster MIBs

This article covers two simple ways to test the Kemp LoadMaster Management Information Bases (MIBs). This is a good way to test the functionality without downloading or using cumbersome SNMP management tools.

The first method uses a MIB browser by iReasoning. This is a lightweight tool that you can use to query Object Identifiers (OIDs) in a User Interface (UI). The download link for iReasoning is below:

iReasoning download

The second method is through a command line interface. This example uses the Windows subsystem for Linux. You can download this through the Microsoft store for free. For instructions on that refer to the following link: How to install Windows Subsystem for Linux. Apart from this, any command line interface for Linux should work if you have the proper libraries installed.

For a full list of Kemp OIDs, refer to the following article: Kemp LoadMaster OID Values.

To download our MIBs, go to the following link: LoadMaster SNMP MIBs.

Configuring the LoadMaster

To enable SNMP on the LoadMaster go to the following path and enable SNMP:

System Configuration > Logging Options > SNMP Options > Enable SNMP

LM.jpg

For the scope of this article we will keep the settings at the default values.  If no SNMP client has been specified, the LoadMaster will respond to SNMP management requests from any host.

iReasoning

You must first load the Kemp MIBs.

Go to File in the top-left and click Load MIBs. Browse to where you have the LoadMaster MIBs and install the following files:

B100, CERTS, IPVS, ONE4NET

 LoadMIBs.jpg

LoadMIBs2.jpg

Afterwards you should have the following populated on your MIB tree:

Kemp_MIBs.jpg

Now that we have the LoadMaster MIBs installed, we can configure the iReasoning MIB Browser to query the LoadMaster. At the top there is a field called Address. Enter your LoadMaster IP address in the Address field.

Client_IP.jpg

Now you can begin querying the LoadMaster. For example, we choose to query vSDesc under the ipvs folder. If you expand that you will find this MIB and the rest for that specified folder. Afterwards you must double click the MIB to query. The results are on the right along with the OID number at the top. You can also clear the table.

How_to.jpg

Command Line Interface (SNMPwalk)

For the command line interface you must ensure the snmp package is installed. I am using an Ubuntu system (Windows Subsytem for Linux). If you are using something else other then Ubuntu, refer to the appropriate documentation to install snmp.

sudo apt-get update – This updates the libraries

sudo apt-get install snmp – This installs the SNMP library

When this is complete, use snmpwalk to query the LoadMaster:

snmpwalk -v2c -c public 10.1.112.100 .1.3.6.1.4.1.12196.12.1.1.11

snmpwalk - Specifying the command/application you are using

-v2c - The SNMP version

-c public - The community string

10.1.112.100 - The IP address of the LoadMaster

.1.3.6.1.4.1.12196.12.1.1.11 - The OID to query on the LoadMaster

Once the command is executed you get similar results to the below:commandline.jpg

For a full list of snmpwalk options you can type snmpwalk and press Enter on your keyboard. The output provides more options.

 

Was this article helpful?

0 out of 0 found this helpful

Comments