Administer > NNMi Incidents > Tune Incidents > Enabling and Configuring Incidents for Undefined Traps

Enabling and Configuring Incidents for Undefined Traps

NNMi drops undefined traps silently by default. As of NNMi 9.01, NNMi can identify any undefined SNMP traps that might be dropped.

Note If you have NNM iSPI NETor NNMi Premiumlicensed on the NNMi management server, use the Total Traps Received (by OID)report to research the dropped SNMP traps. See Analyze Trap Information (NNM iSPI NET) in the NNMi help for more information.

If you do not have NNM iSPI NET or NNMi Premium licensed on the NNMi management server, and want to see the missing traps as an incident, configure the Undefined SNMP Trap incident as follows:

  1. Edit the following file:

    • Windows: %NNM_PROPS%\nms-jboss.properties
    • Linux: $NNM_PROPS/nms-jboss.properties
  2. Look for a section in the file that resembles the following line:

    #!com.hp.nnm.events.allowUndefinedTraps=false

    Change this line as follows:

    com.hp.nnm.events.allowUndefinedTraps=true
  3. Optional. Specify the incident severity using the values explained within the nms-jboss.properties file. Look for a section in the file that resembles the following line:

    #!com.hp.nnm.events.undefinedTrapsSeverity=NORMAL

    Change this line as follows, substituting a defined severity value for YourSpecifiedSeverity.

    com.hp.nnm.events.undefinedTrapsSeverity=YourSpecifiedSeverity
  4. Optional. Specify the incident nature using the values explained within the nms-jboss.properties file. Look for a section in the file that resembles the following:

    #!com.hp.nnm.events.undefinedTrapsNature=INFO

    Change this line as follows, substituting a defined nature value for YourSpecifiedNature.

    com.hp.nnm.events.undefinedTrapsNature=YourSpecifiedNature
  5. Restart the NNMi management server.

    1. Run the ovstop command on the NNMi management server.

    2. Run the ovstart command on the NNMi management server.

  6. Review the list of undefined traps and create new incident configurations for those traps that you want to control. Enable the new incident if you want NNMi to display it and disable the new incident if you want NNMi to ignore it. See Configuring SNMP Trap Incidents in the NNMi help for more information.

Look in the log file to determine if any of the dropped traps are ones you really want and create incident configurations for them.