Splunk AppDynamics

Machine agent is reporting in 2 applications

CommunityUser
Splunk Employee
Splunk Employee

The machine agent is reporting in two applications. Even we updated the correct application name in appdmcagent file but still whenever we are starting service, it started reporting in old n new application both. Checked for appD process in that agent, the correct one is showing but in appd controller, that host is running 2 applications. Can anyone suggest on it?

Labels (3)
0 Karma
1 Solution

Naoto_Yamamoto
Path Finder
Hi Amritesh,
 
Thanks for posting the question on the Community.
 

First, could you check different application name value is set in 2 agents’ controller-info.xml? 
If this is the case, single machine agent will surely get associated to both APM nodes, because controller associates machine to APM based on hostname.
 
You can also check whether this happens by clicking “Settings”->”AppDynamics Agents”, and search your hostname in search query.
 
In this case, this is the steps to solve issue: 
  1. Please stop one of the APM agent for which machine agent do not want to report
  2. Start APM Java agent with this argument:-Dappdynamics.agent.uniqueHostId=X_new
This makes machine agent not be associated to APM agent node because nodes have different hostname.
Let me know if this helped you.
 
Many thanks,
Naoto

View solution in original post

Naoto_Yamamoto
Path Finder
Hi Amritesh,
 
Thanks for posting the question on the Community.
 

First, could you check different application name value is set in 2 agents’ controller-info.xml? 
If this is the case, single machine agent will surely get associated to both APM nodes, because controller associates machine to APM based on hostname.
 
You can also check whether this happens by clicking “Settings”->”AppDynamics Agents”, and search your hostname in search query.
 
In this case, this is the steps to solve issue: 
  1. Please stop one of the APM agent for which machine agent do not want to report
  2. Start APM Java agent with this argument:-Dappdynamics.agent.uniqueHostId=X_new
This makes machine agent not be associated to APM agent node because nodes have different hostname.
Let me know if this helped you.
 
Many thanks,
Naoto
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...