Reducing the Number of Stored SNMP Trap Incidents

If you do not need NNMi to keep SNMP trap incidents for a long time period, you might consider reducing the number of SNMP trap incidents stored in the NNMi database.

Note NNMi begins dropping SNMP traps (including syslog messages) after the number of SNMP trap incidents in its database reaches 100,000. Setting this limit to a higher number is not supported, as doing so can cause NNMi performance degradation.n

Suppose you want to reduce the maximum number of stored SNMP trap incidents (including syslog messages) to 50,000 SNMP trap incidents. To do this, complete the following steps:

  1. Edit the following file:

    • Windows: %NNM_PROPS\nms-jboss.properties
    • Linux: $NNM_PROPS/nms-jboss.properties
  2. Locate the text block containing the following line:

    #!com.hp.nnm.events.snmpTrapMaxStoreLimit=100000
  3. Uncomment and edit the line to read as follows:

    com.hp.nnm.events.snmpTrapMaxStoreLimit=50000
  4. 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.

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.