About the metric component cleanup tool
If a metric component is generated from multiple metric classes, it must meet the criteria for all applicable filters.
In component hierarchies, parent components can be recreated by child components. Filters should be consistent across parent and child metric classes. For example: VNES_WAP is the parent of VNES_WAP_CHANNEL and VNES_WAP_ETHERNET. All should use consistent filters to prevent conflicts.
A cleanup utility is available to help remove stale or irrelevant metric components that no longer match current filters.
app.sh CompService APPLY_COMP_FILTER [-purge] [-o <outputfileName>] [-profile <profileName>] [-metricClass <metricClass>]
Parameters
-purge—Deletes components that don’t match the current filter.
-o <filename>—Saves unmatched component details to a file.
-profile <name>—Applies filters to the specified polling profiles. Can be used multiple times.
-metricClass <name>—Applies filters to the specified metric classes. Can be used multiple times.
If a profile contains spaces, run the command in a bash shell:
./app.sh CompService 'APPLY_COMP_FILTER -profile "All Metrics"'