When adding and removing monitoring profiles from collections you can end up with large amounts of inactive components/elements.
How do I remove inactive elements and components?
There is a script to remove inactive elements and components from the database shipped with CA Performance Management 3.2.
Instructions to run the script.
1. cd /opt/IMDataAggregator/scripts
2. Run the sctipt in test modeto see what will be removed(example):
./cleanupComponents.sh -test -inactive <DA_HOST_NAME>
3. Run script without test flag to remove components(example).
./cleanupComponents.sh -inactive <DA_HOST_NAME>