How to disable a TIM Monitor without using the APM GUI.

book

Article ID: 40944

calendar_today

Updated On:

Products

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

Issue/Introduction

  Introduction:
 While you may disable one or more TIM monitors using the APM CE GUI, this can be done programmatically using SQL  scripts. This article provides some ways to do this. 

 Question:

 Is it possible to disable one or more TIM monitors by not using the GUI?

 

 Environment: 

  All APM Releases

 

 Answer: 

 Yes, this may be done by executing SQL scripts in pgadmin or using psql's command line interface.

 

 Here are some sample cases:

 

 Case 1: Disable all TIM Monitors

 update ts_monitors set ts_enabled=false;


 Case 2: Disable a specific TIM monitor when you know the TIM name.

 update ts_monitors set ts_enabled=false where ts_name='TIM-XYZ' and ts_monitor_type=1;

  OR

 update ts_monitors set ts_enabled=false where ts_name='TIM-XYZ';


 Case 3: Disable a specific TIM monitor when you know the TIM id.

 update ts_monitors set ts_enabled=false where ts_id=nnnnnnnn and ts_monitor_type=1;

  OR

 update ts_monitors set ts_enabled=false where ts_id=nnnnnnnn;

  

After running, verify the change was made by looking at the TIM monitor status in the APM GUI.

Additional Information:

https://docops.ca.com/ca-apm/10/en/extending/transaction-definition/identifying-transactions-using-the-http-analyzer-plug-in/process-for-deploying-the-http-analyzer-plug-in/enabling-and-disabling-tim-monitors  Disabling Monitors & Plug-ins


http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec1137183.aspx -- 'Error deleting remote file' messages in Tim Collector log

Environment

Release:
Component: APMCEM