Configuring SNMP trap forwarding

This topic describes how to configure SNMP trap forwarding in IBM® Director.

You can forward SNMP traps in one of two ways: either through the Event Action Plan Builder or by configuring the SNMPServer.properties file. If you use the Event Action Plan Builder to forward SNMP traps, the traps are converted to IBM Director traps.

Complete the following steps to forward SNMP traps without modification:

  1. Using a text editor, edit a file named SNMPServer.properties in the IBM\Director\data\snmp directory.
  2. To forward SNMPv1 traps:
    1. Locate the following line in the file:
      #snmp.trap.v1.forward.address.1=
    2. Remove the following character at the beginning of this line:
      #
    3. Type the IP address of the SNMPv1 trap destination after the equal sign (=).
    4. Locate the following line in the file:
      #snmp.trap.v1.forward.port.1=
    5. Remove the following character at the beginning of this line:
      #
    6. Type the port number of the SNMPv1 trap destination after the equal sign (=).
  3. To forward SNMPv2 traps:
    1. Locate the following line in the file:
      #snmp.trap.v2.forward.address.1=
    2. Remove the following character at the beginning of this line:
      #
    3. Type the IP address of the SNMPv2 trap destination after the equal sign (=).
    4. Locate the following line in the file:
      #snmp.trap.v2.forward.port.1=
    5. Remove the following character at the beginning of this line:
      #
    6. Type the port number of the SNMPv2 trap destination after the equal sign (=).
  4. Optional: To set a second or a third destination, edit the applicable lines in the SNMPServer.properties file.
  5. Save the file.
  6. Stop and restart IBM Director Server.
    Note: Do not configure a trap destination that is sending traps to the management server, as you might create a loop.

Table of Contents

(C) Copyright IBM Corporation 1999,2005. All Rights Reserved.