cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How change the name of database agent?

Henry.Tellez
Builder

Hi everyone

I updated the version of my database agent and by default, appdynamics set the name like a "default database agent", but I need customize the name for each one, but I could find out where set up this configuration. Can anyone help me to know where change the database agent name?

thank's

8 REPLIES 8

Ryan.Paredez
Community Manager

Hi @Henry.Tellez,

Thanks for asking your question on the community. I was not able to find any existing information on this. Did you find a solution yourself that you can share?

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


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

I uploaded and imagen where I show what name I would like to change, for default is called "default database agent", I want to change to "DBagent01", that name had the agent before to be upgraded, for that reason, I want restore the name.

 https://docs.appdynamics.com/appd/24.x/latest/en/database-visibility/administer-the-database-agent/i...

java -Djava.library.path="<db_agent_home>\auth\x64" -Ddbagent.name="Scarborough Network Database Agent" -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -jar <db_agent_home>\db-agent.jar

Ryan.Paredez
Community Manager

Hi @Henry.Tellez,

Did you see the reply above from @Tiong.Koh? If that reply helped, can you please click the "Accept as Solution" button? This helps let the community know this question was answered.

If it didn't help, reply back and continue the conversation. 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Hi @Tiong.Koh 

I executed the command in CMD console in the server and the output was the attached file, the name don´t change after that, the command was the next:

java -Djava.library.path="E:\AppDynamics_DB" -Ddbagent.name="DBAgent01" -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -jar E:\AppDynamics_DB\db-agent.jar

I don't know where is the problem or if I did something wrong

 

 

See bolded text

java -Djava.library.path="<db_agent_home>\auth\x64-Ddbagent.name="Scarborough Network Database Agent" -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -jar <db_agent_home>\db-agent.jar

Hi

The solution was the next on Windows:

1. go to path : x:\<db_agent_home>\bin

2. Edit the file called DataBaseAgentService add the next line to the end of the file:

-Ddbagent.name=(your collector name)

3. Go to service and restart the appdynamics database agent

Attached print like an example

 

 

Tiong.Koh
Creator

Good. Your issue is resolved.

Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here