Splunk AppDynamics

Cannot Start Machine Agent

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I'm trying to load a machine agent on CentOS machine with AppD Saas controller. When I launch the agent, it gives out an error - 

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the

console.

Looking into agent .zip package downloaded, there's no log4j2.xml file; just log4j.xml.

 

Any suggestions??

Thanks.

Labels (3)
1 Solution

Naoto_Yamamoto
Path Finder

Hi Amol,

Thanks for posting the question on the Community.

I am sorry to say that this is a known bug for 4.5.x machine agent.

I will keep the progress information updated here in that case.

As the work around, could you try to add below option in machine agent command?

-Dappdynamics.agent.log4j2.disabled=true

If it does not work, could you try to use 4.4.X version machine agent?

Let me know if this helped you.

Many thanks,

Naoto

View solution in original post

Naoto_Yamamoto
Path Finder

Hi Amol,

Thanks for posting the question on the Community.

I am sorry to say that this is a known bug for 4.5.x machine agent.

I will keep the progress information updated here in that case.

As the work around, could you try to add below option in machine agent command?

-Dappdynamics.agent.log4j2.disabled=true

If it does not work, could you try to use 4.4.X version machine agent?

Let me know if this helped you.

Many thanks,

Naoto

CommunityUser
Splunk Employee
Splunk Employee

I have this problem as well. Passing "-Dappdynamics.agent.log4j2.disabled=true" through the command line doesn't seem to have any effect:

 $MACHINE_AGENT_HOME/jre/bin/java -jar $MACHINE_AGENT_HOME/machineagent.jar -Dappdynamics.agent.log4j2.disabled=true
Using Java Version [1.8.0_162] for Agent
Using Agent Version [Machine Agent v4.5.9.2096 GA compatible with 4.4.1.0 Build Date 2019-03-19 19:13:12]
[INFO] Agent logging directory set to: [/home/ec2-user/machine-agent]

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

How does one get download verison 4.4 of the machine agent?

Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...