Administer > Administer SNMP Traps > Configuring NNMi to Determine the Original Trap Address from Traps sent by a Proxy SNMP Gateway

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

Note the following:

  • NNMi contains the following custom incident attribute: cia.originaladdress. 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 NNMiand still require access to the actual SNMP address of the managed device.

Note 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 lines:

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

    com.hp.nnm.trapd.useUdpHeaderIpAddress=true
  4. Save your changes.
  5. Restart the NNMi management server:

    Run the ovstop command on the NNMi management server.

    Run the ovstart command on the NNMi management server.

When making file changes under High Availability (HA), you need to make the changes on both nodes in the cluster. For NNMi using HA configurations, if the change requires you to stop and restart the NNMi management server, you must put the nodes in maintenance mode before running the ovstop and ovstart commands.

NNMi determines the original trap address using the value of cia.originaladdress.