Hitachi

JP1 Version 12 JP1/Network Node Manager i Setup Guide


21.15 Determining 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 NNMi is used in the default configuration. An administrator can configure NNMi to determine the original trap address.

Note the following:

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 but you still require access to the actual SNMP address of the managed device.

Important

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.

To configure NNMi to determine the original trap address using the value of cia.originaladdress:

  1. Edit the following file:

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

    • Linux: $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 by running the following commands:

    ovstop
    ovstart
    Important

    When making file changes under High Availability (HA), you must make the changes on both nodes in the cluster. In the case of using NNMi in an HA configurations, if the changes require that you stop and restart the NNMi management server, you must put the nodes in the maintenance mode before running the ovstop and ovstart commands. For details, see 19.6.1 Placing NNMi in maintenance mode.

NNMi uses the value of cia.originaladdress to determine the original trap address.

Organization of this section