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:
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
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.
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
Afterwards you should have the following populated on your MIB tree:
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.
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.
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 .184.108.40.206.4.1.12220.127.116.11.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
.18.104.22.168.4.1.1222.214.171.124.11 - The OID to query on the LoadMaster
Once the command is executed you get similar results to the below:
For a full list of snmpwalk options you can type snmpwalk and press Enter on your keyboard. The output provides more options.