71
Chapter 9
Monitoring Traffic
Using SNMP
The Simple Network Management Protocol (SNMP) is a standard protocol used for network management.
SNMP agents collect and store management information in Management Information Bases (MIBs), and
SNMP managers can probe the agents for this information. In addition, SNMP agents can send alarms and
alerts called SNMP traps to the SNMP manager to warn of any problems.
Traffic Server’s SNMP agent supports access to two management information bases (MIBs): MIB-2 (a
standard MIB) and the HP Traffic Server MIB. Descriptions of the Traffic Server MIB variables are provided
in the
hp-ts-mib.my
file in Traffic Server’s
config/mibs
directory. The Traffic Server MIB contains both
node-specific and cluster-wide information.
To use SNMP on your Traffic Server system, you need to:
•
Enable Traffic Server’s SNMP agent (see Chapter , “Enabling SNMP,” below)
•
Configure Traffic Server to send SNMP traps
•
Control MIB access to specific hosts
Enabling SNMP
Traffic Server’s SNMP agent must be enabled so that SNMP managers can access the MIBs and gather
information.
You can enable the SNMP agent by using Traffic Manager or by editing a configuration file manually. Both
procedures are provided below.
To enable the SNMP agent from Traffic Manager:
1. Access Traffic Manager from your browser (refer to
Accessing Traffic Manager‚ on page 8
).
2. On the Configure tab, click the Server button.
3. Scroll to the SNMP section of the Server Basics page (shown below).
4. Click the SNMP Agent On button.
5. Click the Make These Changes button.
To enable the SNMP agent manually:
1. Telnet into the HP web cache appliance and select Shell Access as described in
Overview of Access
Methods‚ on page 7
.
2. Open the
records.config
file located in Traffic Server’s
config
directory with Vi.
3. Edit the following variable:
NOTE
For the Traffic Server SNMP agent to respond to requests from SNMP managers and
send SNMP traps, the SNMP daemon must be running on your Traffic Server system.
Variable
Description
proxy.config.snmp.master_agent_enabled
Set this variable to 1 to enable SNMP on the Traffic
Server node.