Splunk AppDynamics

How change the name of database agent?

Henry_Tellez
Explorer

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

Labels (1)
0 Karma
1 Solution

Henry_Tellez
Explorer

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

View solution in original post

0 Karma

Tiong_Koh
Explorer

Good. Your issue is resolved.

0 Karma

iamryan
Community Manager
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. 

0 Karma

iamryan
Community Manager
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) 

0 Karma

Henry_Tellez
Explorer

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.

0 Karma

Tiong_Koh
Explorer

 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

Henry_Tellez
Explorer

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

0 Karma

Tiong_Koh
Explorer

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

0 Karma

Henry_Tellez
Explorer

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

0 Karma
Get Updates on the Splunk Community!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...