Splunk AppDynamics

Database agent Installation

Farzaneh_Dehgha
New Member

Hello,

The reason for my question is that I cannot install the database agent, when I run the following command I get no response:

§ nohup java -Dappdynamics.agent.maxMetrics=300000 -Ddbagent.name=DBMon-Lab-Agent -jar db-agent.jar &
attached is screen shot.

image.png

Thanks for the help!

Labels (1)
0 Karma
1 Solution

iamryan
Community Manager
Community Manager

Hi @Farzaneh.Dehghani,

Here is an existing post that has a solution about starting up a Machine Agent in CentOS

https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/Error-when-starting-machine-ag...

Please review it and let me know if it helps.

View solution in original post

0 Karma

Morelz
Motivator

Hi Farzaneh

The command you are using, does not install the db agent as a service, that will start it when you reboot the machine or can be started/stopped by using linux commands.

The below nohup command, is just a manual way of starting the db agent, however as soon as the server is rebooted etc. The db agent service will not automatically start again.

What you see below is correct, it has started the db agent process in the background, and it's process id is - 31524, you can run a ps aux | grep agent command which should show you that process is running, and you will find that there is a nohup.out log file for the process.

If you want to install the db agent as a service instead of manually starting it as in your post you can refer to the documentation

https://docs.appdynamics.com/22.4/en/database-visibility/administer-the-database-agent/start-and-sto...

Ciao

Farzaneh_Dehgha
New Member

Hello Mario,

Thanks for your answer. Indeed I have to install the Machine agent and not bd Agent.
I have already installed the Machine agent but I can't start it. I need the command to start the machine agent in Centos.

Thanks for your Help!

^ Post edited by @Ryan.Paredez for formatting

Tags (2)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Farzaneh.Dehghani,

Here is an existing post that has a solution about starting up a Machine Agent in CentOS

https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/Error-when-starting-machine-ag...

Please review it and let me know if it helps.

0 Karma

iamryan
Community Manager
Community Manager

Hi @Farzaneh.Dehghani,

Thank you @Mario.Morelli  for helping out and thanks @Farzaneh.Dehghani for confirming the Accepted Solution. 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...