Splunk AppDynamics

Don't have any app server agents in my controller

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I have downloaded preconfigured AppServerAgent-4.3.1.0 version.

I use Apache tomcat 7 on Windows 7

I have added path to agent to catalina.bat

set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\javaagent.jar"

Tomact starts without errors, I get notification that  AppDynamics Java Agent Successfully and my oplication loads.

but I don't have any agent in my web controller

Tomcat console output:

------------------------------------------------------------------------------------------------------------------------------

Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using selfService [true]
Full Agent Registration Info Resolver using application name [null]
Full Agent Registration Info Resolver using tier name [unknown]
Full Agent Registration Info Resolver using node name [null]
Install Directory resolved to[#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0]
[Thread-0] Mon Jun 05 15:21:13 IDT 2017[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [null]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [null]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [null]
log4j:WARN No appenders could be found for logger (com.singularity.SelfServiceNameResolver).
log4j:WARN Please initialize the log4j system properly.
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Agent runtime directory set to [#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\ver4.3.1.0]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: AgentInstallManager - Agent node directory set to [XXXXXX-PC]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.1.0 GA #15057 r867530f5c748a55ce75851534ad0942226c06d8b 45-4.3.1.next-analytics]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Running IBM Java Agent [No]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Java Agent Directory [#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\ver4.3.1.0]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Java Agent AppAgent directory [#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\ver4.3.1.0]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - ####################################################################################
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Java Agent Directory [#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\ver4.3.1.0]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Java Agent AppAgent directory [#############\apache-tomcat-7.0.69\AppServerAgent-4.3.1.0\ver4.3.1.0]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.1.0 GA #15057 r867530f5c748a55ce75851534ad0942226c06d8b 45-4.3.1.next-analytics]
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[INFO]: JavaAgent - All agent classes have been pre-loaded
[Thread-0] Mon Jun 05 15:21:14 IDT 2017[DEBUG]: JavaAgent - Using Java Version [JAVA_18] for AppDynamics Java Agent
Running obfuscated agent
Started AppDynamics Java Agent Successfully.
[Thread-0] Mon Jun 05 15:21:21 IDT 2017[INFO]: JavaAgent - Started AppDynamics Java Agent Successfully.

------------------------------------------------------------------------------------------------------------------------------

Thanks

Labels (1)
0 Karma

Severin_Neumann
Explorer

What I see from your console output, is, that you don't have configured the application, tier and node name:

Full Agent Registration Info Resolver using application name [null]
Full Agent Registration Info Resolver using tier name [unknown]
Full Agent Registration Info Resolver using node name [null]

Please check our configuration on the steps to configure the agent:

https://docs.appdynamics.com/display/PRO43/Install+the+Java+Agent#InstalltheJavaAgent-ConfiguretheJa...

Regards,

Severin

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...