Configuring Agents version 2x to connect to APM Enterprise Manager 10.8?
search cancel

Configuring Agents version 2x to connect to APM Enterprise Manager 10.8?

book

Article ID: 142917

calendar_today

Updated On:

Products

CA Application Performance Management SaaS CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

- The Java agent 2x start up successfully but it is not visible in the APM 10.8 Investigator, Webview or TeamCenter.

- In the Java Agent log we can find below messages: 

a) Agent log indicate that Agents are connected but in disallowed mode, for example:

 [INFO] [IntroscopeAgent.IsengardServerConnectionManager] Connected controllable Agent to the Introscope Enterprise Manager at .. Host = "..", Process = "..", Agent Name = "..", Active = "false". 
 [INFO] [IntroscopeAgent.ConnectionThread] Connected to em:5001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory in disallowed mode.

b) Agent indicates that Agent is unable to connect due to client not compatible:

3/24/20 09:41:05 AM UTC [WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at em:5001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (com.wily.isengard.postofficehub.auth.FailedToAuthenticateException:Invalid credentials for group name 'Agent'. Perhaps the client is not compatible with the server.).

Environment

  • APM server 10.8
  • APM Agents 2x

Resolution

1. Stop the Agent

2. Open the \core\config\IntroscopeAgent.profile

a) Add hidden property:

introscope.agent.connection.compatibility.version=10.7


b) Comment agentManager.credential as below:

#agentManager.credential=<your agent token>

Or set it to an empty value:

agentManager.credential=

c) Configure the connection to your EM 10.7.  Same applies if your EM is 10.8.

agentManager.url.1=<em-10.7-host>:<em-port>

comment

#agentManager.url.2=...


4. Restart the application or monitor


For Java application in CloudFoundry, you can use 1 of the below options:

a) cf cups introscope -p '{"agent_manager_url”:”em-10.7-host:em-port", "introscope_agent_connection_compatibility_version":"10.7", "credential":"”}'

b) update the configuration using the Apps Manager as below: