Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Mongo Collector

Discoverer

Mongo Collector

Where in the AppDynamics Console do you start and stop MongoDB Collector?

Mongo Collector
4 REPLIES
Employee

Re: Mongo Collector

James,

Do you mean how to configure it.You can take a look at the below docs.

 

https://docs.appdynamics.com/display/PRO42/Configure+Database+Collectors

https://docs.appdynamics.com/display/PRO42/Database+Topology+Window

 

Regards,

Mohammed Rayan

 

Employee

Re: Mongo Collector

Hi James,

 

There is currently no option to start or stop inndividual collectors. Once you start database agent all collectors configured on it would start automatically and once you stop database agent all collectors configured on it would stop collecting.

 

There is an enhancement in place to allow enabling/disabling individual collectors. No ETA yet on the feature but once released you can see it in the release notes.

 

Regards,
Saradhi

Discoverer

Re: Mongo Collector

How do you stop/start the database agent?  I wasn't involved in the setup of dbagent so I've been asked to stop/start the agent to collect logs.

Employee

Re: Mongo Collector

Hi James,

 

The database agent process needs to be killed to stop it.

 

ps -ef | grep -i db-agent.jar

 

Note the process arguments (may be copy the output of above command in a notepad) so that you could use same command again to start and then kill the database agent.

 

 

kill -9 <PID of db-agent.jar>

 

https://docs.appdynamics.com/display/PRO42/Start+and+Stop+the+Database+Agent

https://docs.appdynamics.com/display/PRO42/Start+the+Database+Agent+Automatically+on+Linux

https://docs.appdynamics.com/display/PRO42/Start+the+Database+Agent+Automatically+on+Windows

 

Regards,

Saradhi