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:
- http://[LB IP]:8000/Barracuda-LB-MIB.txt
- http://[LB IP]:8000/Barracuda-REF-MIB.txt
Syntax
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] .1.3.6.1.4.1.20632.5.2
Objects
The following table lists the objects available in the Barracuda Load Balancer MIB.
OID | Object | Description |
---|---|---|
1.3.6.1.4.1.20632.5.2 | systemActiveServices | Number of active Services on the Barracuda Load Balancer. |
1.3.6.1.4.1.20632.5.3 | systemOperatingServers | Number of operating Real Servers. |
1.3.6.1.4.1.20632.5.6 | L4TCPConnections | Number of Layer 4 TCP connections. |
1.3.6.1.4.1.20632.5.7 | L7HTTPRequests | Number of requests to each Layer - 7 HTTP Service configured on the device. |
1.3.6.1.4.1.20632.5.8 | RDPUserSessions | Number of Layer 7 - RDP user sessions. |
1.3.6.1.4.1.20632.5.9 | ServiceBandwidth | Current bandwidth to each Service. |
1.3.6.1.4.1.20632.5.10 | TotalBandwidthToLB | Total bandwidth. |
1.3.6.1.4.1.20632.5.11 | RealServerBandwidth | Current bandwidth to each Real Server. |
1.3.6.1.4.1.20632.5.12 | ClusterStatus | If this Barracuda Load Balancer is in a cluster or is standalone. |
1.3.6.1.4.1.20632.5.13 | SystemLoad | System load as a percentage. |
1.3.6.1.4.1.20632.5.14 | CPUTemperature | CPU temperature in degrees Celsius. |
1.3.6.1.4.1.20632.5.15 | FirmwareStorage | The space occupied by the firmware, as a percentage of the space allocated to it. |
1.3.6.1.4.1.20632.5.16 | MailLogStorage | The space occupied by the mail/log, as a percentage of the space allocated to it. |
1.3.6.1.4.1.20632.5.17 | OperationMode | The operating mode of the Barracuda Load Balancer: either “Route-Path” or “Bridge”. |
Related Articles