search cancel

How to remove the metrics with a single command of SmartStorTools.

book

Article ID: 36897

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

How to remove the metrics with a single command of SmartStorTools.

Resolution

You can remove the metrics with a multiple commands of SmartStorTools. To do this, please follow the steps below :

If you'd like to remove the metric "testmetrics:test1" in Agent1,

1. Separate Agent1 from data directory to A1 directory
    e.g.) SmartStorTools keep_agents -agents ".*Agent1" -dest A1 -src data

2. remove Agent1 from data directory to A2 directory
    e.g.) SmartStorTools remove_agents -agents ".*Agent1" -dest A2 -src data

3. Remove test1 metric from A1 directory to A1_2 directory
    e.g.) SmartStorTools remove_metrics -metrics ".*testmetrics:test1" -dest A1_2 -src A1

4. merge A1_2 and A2 into A2 directory
    e.g.) SmartStorTools merge A1_2 A2

5. Please update A2 directory to data directory.