RAMS(Route analytics and Management Software) traps show IP address as Hex string in the NNMi Incident views Linux enviroments.

  • KM00840141
  • 12-Apr-2014
  • 23-May-2014

Summary

After upgrading to NNMi (Network Node Manager) 9.20, some RAMS traps show IP address as Hex string in the NNMi Incident views

Question

After upgrading to NNMi 9.20, some RAMS traps show IP address as Hex string in the NNMi Incident views. To workaround this problem, update the Incident Configuration for RAMS traps that are forwarded to NNM.

Answer

  1. Generate a file of the existing RAMS traps:


/opt/OV/bin/nnmincidentcfgdump.ovpl –dump /tmp/ramsTraps.tag –authorKey com.hp.rams.nnm.author

  1. Edit the /tmp/ramsTraps.tag file to update the trap configuration Message Formats as follows:
    • Change
      "Path Change for $4 from src $5 to dest $16/$17 newMetric-$12 : newHops-$14 : oldMetric-$11 : oldHops-$13" 
      to
      "Path Change for $4 from src $5 to dest $8/$9 newMetric-$12 : newHops-$14 : oldMetric-$11 : oldHops-$13"
    • Change
      "Adjacency state Up in $4 for src $16 dest $18 srcType $13 destType $14" 
      to
      "Adjacency state Up in $4 for src $5 dest $6 srcType $13 destType $14"
    • Change
      "Adjacency state Down in $4 for src $16 dest $18 srcType $13 destType $14" 
      to
      "Adjacency state Down in $4 for src $5 dest $6 srcType $13 destType $14"
    • Change
      "Prefix $11/$12 Up announced by node $8" 
      to
      "Prefix $5/$6 Up announced by node $8"
    • Change
      "Prefix $11/$12 Down announced by node $8" 
      to
      "Prefix $5/$6 Down announced by node $8"
  2. Load the modified RAMS traps:


/opt/OV/bin/ nnmincidentcfgload.ovpl -load /tmp/ramsTraps.tag

  1. From the NNMi 9.20 console, use Configuration→Incidents→SNMP Trap Configurations to validate the following five traps:
    • RexPathChange
    • RexAdjStateUp
    • RexAdjStateDown
    • RexPrefixStateUp
    • RexPrefixStateDown