Delete only specific entries from "Not Present" items using "remove_not_present_items.sh" script
book
Article ID: 191319
calendar_today
Updated On:
Products
CA Infrastructure ManagementCA Performance Management - Usage and AdministrationDX NetOps
Issue/Introduction
Sometimes it could be needed to delete only some specific entries (e.g. 'QoS Class Map' entries) coming from old "Not Present" items. This may be useful in order to keep other data from those same "Not Present" items, apart the entries we want to filter (QoS Class Map in this example).
Environment
Dx NetOps Performance Management all versions
Resolution
This could be done using the "remove_not_present_items.sh" script available on the Data Aggregator system in the directory /opt/IMDataAggregator/scripts
This script can be customized for different filter criteria. The filtering examples/options are provided to allow taking an approach that deletes the 'not present' items on a subset of devices specified by a filter.
For example, the option: [-z <filter by facet type>]