Page tree
Skip to end of metadata
Go to start of metadata

This task describes how to manually create SNMP traps. 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.

Before you begin

This task should be performed in conjunction with the task, Testing the SNMP Master Agent's Ability to Receive Traps. This task sends traps to the port on which BMC PATROL is listening for traps.

To Generate Manual Traps

  1. Access the SNMPHealth application menu as described in Accessing KM Commands and InfoBoxes.
  2. Select Test PATROL SNMP System > Generate Manual SNMP Trap.
    BMC PATROL displays the Generate a Manual SNMP Trap dialog box.
  3. Edit the Target host/port/community information to correspond to your BMC PATROL SNMP system configuration. If you do not provide a community string, BMC PATROL uses the one stored in the agent configuration variable /SNMP/default_r_community.
  4. Click OK.
    BMC PATROL closes the dialog box and sends the trap to the SNMP listening process started in step 2.
  5. Access the Listen for SNMP Traps task object. Your results should resemble this example:
SNMP Listen Running...
From: ( Enterprise Specific (1) Uptime: 2 day(s) 4:22:11 (1)  6      string       test 1  6      string       test 2  6      string       test 2  6      string       test 2
  • No labels