Splunk AppDynamics

To monitor Java-based microservices running in Docker with AppDynamics

172212
New Member

Hi,

I have deployed AppServerAgent-1.8-24.9.0.36347 with following steps but agent is showing errors and not getting uploaded. 

ENV APPDYNAMICS_CONTROLLER_HOST_NAME=" abc"
ENV APPDYNAMICS_CONTROLLER_PORT="443"
ENV APPDYNAMICS_AGENT_ACCOUNT_NAME="abc"
ENV APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY="your-access-key"  point.
ENVAPPDYNAMICS_AGENT_APPLICATION_NAME=" -----------"
ENV APPDYNAMICS_AGENT_TIER_NAME=" -----------
"ENV APPDYNAMICS_AGENT_NODE_NAME="your-node name"

agent is not getting loaded and giving error:

Error: it is because if application name is not get resolved or do i need to make some other configurations?

024-11-14 13:02:18 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
2024-11-14 13:02:18 Java 9+ detected, booting with Java9Util enabled.
2024-11-14 13:02:18 Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_APPLICATION_NAME] for application name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:18 Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_TIER_NAME] for tier name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:18 Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_NODE_NAME] for node name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using selfService [false]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using selfService [false]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using ephemeral node setting [false]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using application name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using tier name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:19 Full Agent Registration Info Resolver using node name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:19 Install Directory resolved to[/opt/appdynamics]
2024-11-14 13:02:19 getBootstrapResource not available on ClassLoader
2024-11-14 13:02:20 Class with name [com.ibm.lang.management.internal.ExtendedOperatingSystemMXBeanImpl] is not available in classpath, so will ignore export access.
2024-11-14 13:02:20 Class with name [jdk.internal.util.ReferencedKeySet] is not available in classpath, so will ignore export access.
2024-11-14 13:02:20 Failed to locate module [jdk.jcmd]
2024-11-14 13:02:20 Failed to locate module [jdk.attach]
2024-11-14 13:02:23 [AD Agent init] Thu Nov 14 07:32:23 GMT 2024[DEBUG]: JavaAgent - Setting AgentClassLoader as Context ClassLoader
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: JavaAgent - Low Entropy Mode: Attempting to swap to non-blocking PRNG algorithm
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: JavaAgent - UUIDPool size is 10
2024-11-14 13:02:25 Agent conf directory set to [/opt/appdynamics/ver24.9.0.36347/conf]
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: JavaAgent - Agent conf directory set to [/opt/appdynamics/ver24.9.0.36347/conf]
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_APPLICATION_NAME] for application name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_TIER_NAME] for tier name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:25 [AD Agent init] Thu Nov 14 07:32:25 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_NODE_NAME] for node name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using ephemeral node setting [false]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Agent runtime directory set to [/opt/appdynamics/ver24.9.0.36347]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Agent node directory set to [measurement-api-service-637966829491.us-east1.run.app]
2024-11-14 13:02:26 Agent runtime conf directory set to /opt/appdynamics/ver24.9.0.36347/conf
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: AgentInstallManager - Agent runtime conf directory set to /opt/appdynamics/ver24.9.0.36347/conf
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: JavaAgent - JDK Compatibility: 1.8+
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: JavaAgent - Using Java Agent Version [Server Agent #24.9.0.36347 v24.9.0 GA compatible with 4.4.1.0 r8d55fc625d557c4c19f7cf97088ecde0a2e43e82 release/24.9.0]
2024-11-14 13:02:26 [AD Agent init] Thu Nov 14 07:32:26 GMT 2024[INFO]: JavaAgent - Running IBM Java Agent [No]

Thanks & Regards

Rupinder Kaur 

Labels (1)
0 Karma

Ankur_Sharma3
Engager

Try not using the special characters - . in Names ?

iamryan
Community Manager
Community Manager

Hello,

Thank you for asking your question on the Community. I wanted to see if you were able to find new information or a solution you could share here?

If you still need help with this, you can contact AppDynamics Support: How to contact AppDynamics Support and manage existing cases with Cisco Support Case Manager (SCM) 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...