What are the files in the On-Demand-Log directory in a Data Collector?
search cancel

What are the files in the On-Demand-Log directory in a Data Collector?

book

Article ID: 11871

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

This article discusses and explains the existence of log files created in a Data Collector. These are logs related to debug data and are infrequently reviewed for data.

What is the reason for the existence of this directory and its contents on the Data Collector host (default path)?

/opt/IMDataCollector/apache-karaf-<version>/dcdebug/On-Demand-Log

Environment

All supported DX NetOps Performance Management releases

Resolution

Some details about the files found within this location:

  • Each file represents data from a single device
  • Each file is named with the IP address of the device the data represents
  • Each file should be no larger than 1 MB
  • Each file contains Discover messaging only
  • Files are in binary form and are read by the searchdebug.jsp when called via the <DA_HOST>:8581/dcdebug/searchdebug.jsp URL
  • No log rotation configuration is available to manage these files
  • When a device the DC manages is deleted, the file representing it via it's IP address will be removed automatically.
  • All other dcdebug page related data is stored in memory only on the running Data Collector server
  • These logs are the only debug data available via the dcdebug page that is persistent through DC restarts

These files can be deleted. They can be deleted without requiring any kind of Data Collector service stop/start cycle.

These files should only ever be deleted if an administrator of a CA Performance Manager installation is aware of the impact of that action. Doing so will result in the loss of discovery related messages for a device. If this loss is acceptable the file can be safely deleted to free up space.

Once more we should be aware that deleting these files causes the loss of historical discovery messaging for a device. This is data which is often necessary for the debug and troubleshooting of discovery related problems.

Additional Information

Upgrading an already installed DC but the reported disk size requirements per the installation seem excessive, or higher than expected? Please see Knowledge Base Article Unexpected amount of space required for DC upgrade if disk consumption issues related to these logs is a concern.