On the Barracuda Load Balancer ADC, you can enable an SNMP agent to enable SNMP to query the system for a variety of statistics, such as the number of current connections, bandwidth, and system CPU temperature. You can also configure SNMP traps to be generated automatically when certain events occur.
SNMPv2c and SNMPv3 are both supported by the SNMP agent. SNMPv2c is less secure because its queries and responses are not encrypted. SNMPv3 can encrypt traffic and enables you to restrict access to only specified users with passwords.
In addition to configuring SNMP monitoring on the Barracuda Load Balancer ADC, you must also import the Barracuda Load Balancer MIBs into your SNMP monitors.
Step 1. Configure SNMP Monitoring
On the Barracuda Load Balancer ADC, enable the Barracuda SNMP agent and specify the IP addresses of the SNMP monitors that are allowed to query the agent. You can also configure SNMP traps.
- Log into the Barracuda Load Balancer ADC web interface as administrator.
- Go to the ADVANCED > SNMP Configuration page.
In the SNMP Manager section, enable the SNMP agent, select an SNMP version, and enter the IP addresses of the SNMP monitors that are allowed to connect with the Barracuda Load Balancer ADC.
- If you want to configure SNMP traps:
- In the SNMP Traps section, enter the IP addresses and ports that the traps should be sent to.
- In the SNMP Trap Events section, select the SNMP traps that you want to generate. For more information on the available traps, see SNMP Objects and Traps.
- Click Save.
Step 2. Import the Barracuda Load Balancer MIBs into the SNMP Monitor
To use an SNMP monitor or other program to query for system information using SNMP, you must obtain and import the Barracuda Load Balancer MIB files into your SNMP monitor. You can download a TAR file containing the Barracuda Load Balancer MIB files at http://ADC-management-IP-address:8000/Barracuda-LB-MIBS.tar. A link to this TAR file is also available in the online help for the ADVANCED > SNMP Configuration page of the Barracuda Load Balancer ADC.
Refer to the MIBs for the Object IDs (OIDs) that correspond to the type of status that you want to monitor. For a list of of the objects that are available in the Barracuda Load Balancer ADC MIB, see SNMP Objects and Traps.
If you are querying the Barracuda Load Balancer ADC from code, use the following syntax:
snmpget -v 2c -c public ADC-MIP-Address .184.108.40.206.4.1.20632.5.2
ADC-MIP-Address is the management IP address of your Barracuda Load Balancer ADC.
If you are using the snmpwalk command and do not include an OID, a list of all OIDs in the MIB is returned.