Hitachi

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


19.15.2 Enabling the auto-trim oldest SNMP trap incidents feature (incident archive enabled)

Suppose you want to enable the auto-trim oldest SNMP trap incidents feature to trim 60,000 SNMP trap incidents (including syslog messages) once the number of SNMP trap incidents in the NNMi database exceeds 80,000. For this example, you 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=80
  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=75
  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=TrimAndArchive
  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 80,000 SNMP trap incidents (including syslog messages) from the NNMi database, it applies the following formula to archive then trim 60,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

The deleted incidents are archived in the following file:

The archive file name is fixed until the NNMi service is restarted and incidents are added to the same file.