Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Consolidated Management 2/Network Node Manager i Setup Guide


19.10 Configuring NNMi to determine the original trap address from traps sent by a proxy SNMP gateway

Traps sent by a proxy SNMP gateway might not show the original trap address when using NNMi's default configuration. An administrator can configure NNMi to determine the original trap address.

NNMi provides the cia.originaladdress custom incident attribute in support of this capability.

NNMi determines the meaning of the cia.originaladdress attribute in conjunction with the com.hp.nnm.trapd.useUdpHeaderIpAddress property. The value of the com.hp.nnm.trapd.useUdpHeaderIpAddress parameter is false by default, so NNMi normally ignores the cia.originaladdress attribute. After you set the com.hp.nnm.trapd.useUdpHeaderIpAddress value to true, the cia.originaladdress attribute provides the value of the SNMP agent address.

Setting the com.hp.nnm.trapd.useUdpHeaderIpAddress value to true is useful when you want to use the UDP header address as the source in NNMi and still require access to the actual SNMP address of a managed device.

When the com.hp.nnm.trapd.useUdpHeaderIpAddress attribute is false (the default setting), the cia.originaladdress and cia.address attributes both contain the same value.

Do the following to configure NNMi use the value of cia.originaladdress to determine original trap addresses:

  1. Edit the following file:

    • Windows: %NNM_PROPS%\nms-jboss.properties

    • UNIX: $NNM_PROPS/nms-jboss.properties

  2. Search for the text block containing the following line:

    #!com.hp.nnm.trapd.useUdpHeaderIpAddress=false
  3. Uncomment and edit this line to read as follows:

    com.hp.nnm.trapd.useUdpHeaderIpAddress=true
  4. Save your changes.

  5. Restart NNMi:

    a. ovstop

    b. ovstart

    When making file changes under HA, you must make the changes on both nodes in the cluster. For an NNMi that uses an HA configuration, if the change requires you to stop and restart the NNMi management server, you must place the nodes in maintenance mode before running the ovstop and ovstart commands.

  6. After completing steps 1 through step 5, NNMi uses the value of cia.originaladdress to determine the original trap addresses.