ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

The traps.log file on the TrapX server is over 5 GB and the system has run out of disk space

book

Article ID: 237875

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The traps.log file on the TrapX server is over 5 GB and the system has run out of disk space

Cause

The log file is configured in the trapX.config file using the file parameter:

file: Logs the Trap PDU to a file specified by the Option field. SDC TrapX creates the file if it does not exist. This option is applicable only for SNMPv1 traps SNMPv2 traps, when performing SNMPv2c to SNMPv1 trap translation.

This file will continue to grow. There is no functionality to tell TrapX to rotate this file after so many days or if the file exceed a specified size.

Environment

Release : 21.2

Component : Spectrum Trap Exploder

Resolution

If you need the information in this file:

- Stop TrapX

- Copy the file to a safe location outside the TrapX area

- Start TrapX. A new log file will be created.

If you do not need the information in this file

- Stop TrapX

- Delete the file

- Start TrapX. A new log file will be created.