CTG Server - No metrics

Document ID : KB000129206
Last Modified Date : 13/03/2019
Show Technical Document Details
Issue:
We have installed the CTG server agent as explained in documentation. I the investigatr it only reports GC and few other metrics we are not getting any CTG server metrics

In the logs it reports:

3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Introscope AutoProbe will not run because the provided directives files are not valid: Can't proceed because (/CA/WILY/core/config/PPCTGServer-full.pbd:70) the specified tracer class "MethodTraceDecrementor" is invalid.
3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Failed to load extensions bundles PBDs
3/12/19 10:07:21 AM CET [ERROR] [IntroscopeAgent.Agent] Unable to instantiate class com.wily.introscope.autoprobe.AutoProbeTransformer
Cause:
The problem is due to the fact that in the combination of directive files  specified the MethodTraceIncrementor is not mapped to a class.

That mapping is done in the required.pbd

The documentation does show in the example that required.pbd should be at in the property value

https://docops.ca.com/ca-apm/10-7/en/implementing-agents/java-agent/java-agent-extensions/ibm-cics-transaction-gateway/install-extension-for-ctg#InstallExtensionforCTG-EnabletheCTGClientCodeonWebSphere

introscope.autoprobe.directivesFile=<list of existing PBDs>,PPCTGClientHC-full.pbd,PPCTGServerHC-full.pbd,required.pbd

 
Resolution:
Modify the agent profile property value from

introscope.autoprobe.directivesFile=PPCTGServer-full.pbd,hotdeploy

to

introscope.autoprobe.directivesFile=PPCTGServer-full.pbd,required.pbd,hotdeploy