Configure the Internal Not-Present Component Cleanup Process on the Data Aggregator
search cancel

Configure the Internal Not-Present Component Cleanup Process on the Data Aggregator

book

Article ID: 444868

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

The remove_not_present_items.sh script is not working to remove "not present" components.  Is there an internal job that performs the same function?

Environment

Dx NetOps Performance Management 25.4.4 and higher

Resolution

See the following documentation:  Delete the not present components cleanup process

 

  • Create (25.4.4 and higher) the 
    <installation_directory>
    /config/com.ca.im.dm.core.database.dao.impl.NotPresentItemCleanupDAO.cfg
     file
  • (25.4.3 and lower) the 
    <installation_directory>
    /apache-karaf/etc/com.ca.im.dm.core.database.dao.impl.NotPresentItemCleanupDAO.cfg
     file.
     
  • The default installation directory for the data aggregator.
     
    Default:
     
    /opt/IMDataAggregator
     
  • Add the following line to the file:
    ageOutDays=<days>
     
    Example:
    ageOutDays=30
     
     
  • days: 
    Defines when (in number of days) you want the cleanup process to delete components that are marked as "Not Present" (status) and that have stopped polling 
    before
     it deletes the component.

 

The internal not-present component cleanup process is configured.