Hitachi

JP1 Version 11 JP1/Network Node Manager i Setup Guide


21.21.1 Enabling the auto-trim oldest SNMP trap incidents feature (no incident archive)

Suppose you want to enable the auto-trim oldest SNMP trap incidents feature to trim 10,000 SNMP trap incidents (including syslog messages) once the number of SNMP trap incidents in the NNMi database exceeds 50,000. For this example, you do not want NNMi to archive the SNMP trap incidents before trimming them. Complete the following steps:

  1. Edit the following file:

    • Windows: %NNM_PROPS%\nms-jboss.properties

    • Linux: $NNM_PROPS/nms-jboss.properties

  2. Look for the following line:

    #!com.hp.nnm.events.snmpTrapAutoTrimStartPercentage=50
  3. Uncomment and edit this line to read as follows:

    com.hp.nnm.events.snmpTrapAutoTrimStartPercentage=50
  4. Look for the following line:

    #!com.hp.nnm.events.snmpTrapAutoTrimPercentageToDelete=25
  5. Uncomment and edit this line to read as follows:

    com.hp.nnm.events.snmpTrapAutoTrimPercentageToDelete=20
  6. Look for the following line:

    #!com.hp.nnm.events.snmpTrapAutoTrimSetting=Disabled
  7. Uncomment and edit this line to read as follows:

    com.hp.nnm.events.snmpTrapAutoTrimSetting=TrimOnly
  8. Save your changes.

  9. Restart NNMi by running the following commands:

    ovstop
    ovstart

The default value of com.hp.nnm.events.snmpTrapMaxStoreLimit is 100,000. With this configuration, after NNMi stores 50,000 SNMP trap incidents (including syslog messages) from the NNMi database, it applies the following formula to trim 10,000 SNMP trap incidents from the NNMi database:

com.hp.nnm.events.snmpTrapAutoTrimStartPercentage X
com.hp.nnm.events.snmpTrapMaxStoreLimit X
com.hp.nnm.events.snmpTrapAutoTrimPercentageToDelete