This task describes how to test if the SNMP Master Agent is listening for SNMP traps.
Before you begin
- The trap port is stored in the agent configuration variable /snmp/trap_port. The default value is 162. You might need to change this port setting if some other process already uses this port. This task will fail if the port is used by another process.
- This task should be performed in conjunction with the task, Generating Manual SNMP Traps. This task provides a mechanism (a BMC PATROL task object) with which to view the manually generated traps.
To Test the Master Agent's Ability to Receive Traps
- Access the SNMPHealth application menu as described in Accessing KM Commands and InfoBoxes.
- Select Test PATROL SNMP System > Listen for SNMP Traps. BMC PATROL writes the information to a BMC PATROL task object (Listen for SNMP Traps) in the UNIX OS container.
Access the Listen for SNMP Traps task object as described in Accessing KM Commands and InfoBoxesand view the results. Your results should resemble this example:
SNMPHealth (SNMPHealth)
Monitoring the health of SNMP
SNMP Configuration
Status of SNMP Agents
Tests SNMP Functionality