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
- Generate a file of the existing RAMS traps:
/opt/OV/bin/nnmincidentcfgdump.ovpl –dump /tmp/ramsTraps.tag –authorKey com.hp.rams.nnm.author
- 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"
- Change
- Load the modified RAMS traps:
/opt/OV/bin/ nnmincidentcfgload.ovpl -load /tmp/ramsTraps.tag
- From the NNMi 9.20 console, use Configuration→Incidents→SNMP Trap Configurations to validate the following five traps:
- RexPathChange
- RexAdjStateUp
- RexAdjStateDown
- RexPrefixStateUp
- RexPrefixStateDown