This article refers to Barracuda Load Balancer firmware version 3.3 and higher. The Barracuda Load Balancer supports SNMP versions v2c and v3.
In this article:
Configuring the Barracuda Load Balancer
To use your SNMP monitor with the Barracuda Load Balancer, you must identify the Barracuda Load Balancer as a system which is allowed SNMP access. To do so, use the following steps.
- Log into the Barracuda Load Balancer web interface as the administrator.
- On the ADVANCED > SNMP Configuration page, in the SNMP Manager section, select the SNMP version.
Note: If you select SNMP version v3, you must enter the SNMP user name and password; the SNMP password must be a minimum of 12 alphanumeric characters in length.
- Enter the IP address of SNMP monitor in the Allowed SNMP IP/Range fields, and click Add.
- Repeat step 3 for any additional SNMP monitors you wish to include.
- Update the other SNMP-related settings as necessary, and click Save Changes.
Note: If the Barracuda Load Balancer is in high availability (HA) mode, all SNMP settings are propagated to the other system in the cluster.
Use the following steps to configure SNMP traps.
- On the ADVANCED > SNMP Configuration page in the SNMP Traps section, enter the IP address and port number to which SNMP traps are to be sent, and click Add.
- Repeat step 1 for each additional IP address to which you wish to send SNMP traps, and then click Save Changes.
- In the SNMP Trap Events section, select the SNMP traps you wish to generate, and click Save Changes.
Importing the Barracuda Load Balancer MIBs
In order to use an SNMP monitor or other program to query for system information using SNMP, you must obtain and import the following MIB files into your SNMP monitor:
- Barracuda Load Balancer MIB
- Barracuda Reference MIB
The MIB files are located on the Barracuda Load Balancer, and can be obtained by replacing the [LB IP] in the following URLs with a management IP address from your Barracuda Load Balancer:
If you are using an SNMP monitoring tool, import the MIBs into the SNMP monitor. Refer to the MIBs for the Object IDs (OIDs) that correspond to the type of status you wish to monitor as to view generated traps.
If you are querying the Barracuda Load Balancer from code, use the following syntax, where [LBM IP] is the management IP address of your Barracuda Load Balancer. If you are using the
snmpwalk command and do not include an OID, a list of all OIDs in the MIB is returned.
snmpget -v 2c -c public [LB IP] .18.104.22.168.4.1.20632.5.2
The following table lists the objects available in the Barracuda Load Balancer MIB.
|systemActiveServices||Number of active Services on the Barracuda Load Balancer.|
|systemOperatingServers||Number of operating Real Servers.|
|L4TCPConnections||Number of Layer 4 TCP connections.|
|L7HTTPRequests||Number of requests to each Layer - 7 HTTP Service configured on the device.|
|RDPUserSessions||Number of Layer 7 - RDP user sessions.|
|ServiceBandwidth||Current bandwidth to each Service.|
|RealServerBandwidth||Current bandwidth to each Real Server.|
|ClusterStatus||If this Barracuda Load Balancer is in a cluster or is standalone.|
|SystemLoad||System load as a percentage.|
|CPUTemperature||CPU temperature in degrees Celsius.|
|FirmwareStorage||The space occupied by the firmware, as a percentage of the space allocated to it.|
|MailLogStorage||The space occupied by the mail/log, as a percentage of the space allocated to it.|
The operating mode of the Barracuda Load Balancer: either “Route-Path” or “Bridge”.