Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Consolidated Management 2/Network Node Manager i Setup Guide


19.15.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 30,000 SNMP trap incidents (including syslog messages) once the number of SNMP trap incidents in the NNMi database exceeds 60,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

    • UNIX: $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=60
  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=50
  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 the edited file, and then 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 60,000 SNMP trap incidents (including syslog messages) from the NNMi database, it applies the following formula to trim 30,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