Administer > Configure Incidents > Configure Incident Logging

Configure Incident Logging

[This is the Context-Sensitive Help topic for the Incident Logging Configuration tab.]

NNMi enables you to configure incident logging so that incoming incident information is written to the incident.csv file. This feature is useful when you want to track and archive your incident history.

Tip You can also use the nnmtrimincidents.ovpl command to configure incident logging.

The incident.csv is located in the following directories (see Manage environment variables):

Windows

%NnmDataDir%\log\nnm

Linux

$NnmDataDir/log/nnm

To configure incident logging:

  1. Select Incident Configuration.
  2. Navigate to the Incident Logging Configuration tab.
  3. Provide the required information (see General Configuration and Log File Configuration).
  4. Click  Save and Close to save your changes.

If Enable Incident Logging , the next time an incident arrives, NNMi logs the information to the incident.csv file.

Note See nnmtrimincidents.ovpl for a description of the incident information that is written to the incident.csv file.

General Configuration
Attribute Description
Enable Incident Logging

If enabled , NNMi logs incoming incident information to the the incident.csv file.

If disabled , incident information is not logged.

Log File Configuration
Attribute Description
Enable Compression

If enabled , NNMi saves the incident.csv file in compressed (.gz) format.

If disabled , incident information is not saved in the compressed (.gz) format.

Maximum File Size (MB)

Specify the maximum amount of disk space in megabyte that NNMi should use for the incident.csv file. The default value is 128 megabytes.

Note After the maximum file size is reached, the log file is renamed to incident.csv.<gz>.old and a new incident.csv file is created. If an incident.csv.<gz>.old exists, it is overwritten.

Logging Interval (ms)

Specify the time interval in which NNMi should log incident information. The default value is 6 seconds (6000 milliseconds).

Tip To optimize performance, use a less frequent Logging Interval with a larger Maximum Number of Incidents.

Note the following:

  • The minimum value is 0.01 second (10 millieseconds).
  • The maximum value is 1 minute (60000 milliseconds).
Maximum Number of Incidents per Logging Interval

Specify the number of incidents to be logged to the incident.csv file per the Logging Interval specified. The default value is 1024.

Tip To optimize performance, use a less frequent Logging Interval with a larger Maximum Number of Incidents.

The minimum value is 32.