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
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
Good. Your issue is resolved.
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.
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)
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 @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