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

cancel
Showing results for 
Search instead for 
Did you mean: 

MicroServices V3 Monitoring

SOLVED
Explorer

MicroServices V3 Monitoring

Hi Experts,

 

we have sucesfully installed AppD agents in our app server also passed valid arugments however unable to view 

any data in AppD console.

 

 

Our Controller and agent ver are : 4.8 controller/4.5 agent

 

Passed aruguments in MS v3 configfiles  and  application is hooked with AppDynamics when we tried with Ps -ef| grep java 

 

Pls let us what could be rootcause it blocking the data ? or any body faced smilar kind of issue.

 

 

 

 

 

 

MicroServices V3 Monitoring
8 REPLIES 8
Moderator

Re: MicroServices V3 Monitoring

Surenda,

 

What do you see?

  • Do you see any logs written in the agent logs directory?
  • Any node reporting to your application in the "Tiers & Nodes" dashboard?

The agent logs will be the most useful source of troubleshooting information

 

Warm regards,

Peter



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

Re: MicroServices V3 Monitoring

Thanks peter for quick response .

Nothing showing in the agent logs
Moderator

Re: MicroServices V3 Monitoring

The logs are empty, or no logs are created?

 

If the latter case, do you see any output from the agent on stdout/stderr as the JVM starts?

 

Can you post the output of ps -ef for your java process?

 

What do you see if you take your agent options and just run java <your-options> -version ?

 

Warm regards,

Peter



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

Re: MicroServices V3 Monitoring

Hi Pete,

 

Pls find my answer below.

 

If the latter case, do you see any output from the agent on stdout/stderr as the JVM starts?

 

No Logs were created hence no output on stdout/stderr

 

Can you post the output of ps -ef for your java process?

 

java -Xmx1024m -jar xxxapi.jar -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001

 

 

What do you see if you take your agent options and just run java <your-options> -version ?

 

java -Xmx1024m -jar xxxapi.jar -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001

 

Pls let me know if you have questions.

 

 

Regards

Surendra

Moderator

Re: MicroServices V3 Monitoring

Surendra,

 

Try moving the -javaagent and the -D options ahead of the "-jar" option in your command line.

 

Warm regards,

Peter



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

Re: MicroServices V3 Monitoring

Thanks Pete for your reply.

 

we have tried said option however we are same page. pls find same below

 

java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -jar xxxapi.jar

 

pls correct me if any errors in above arguments 

 

Thaks in Advance. 

 

Regards,

Surendra

 

 

Moderator

Re: MicroServices V3 Monitoring

Surendra,

 

This is very strange.  If the agent is not generating any output or log files, it is almost certainly not getting loaded for some reason.

 

What do you see if you run:

java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -version

 

Do you see anything at all in the 'tiers and nodes' dashboard of your application?

 

TiersandNodes.png



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

Re: MicroServices V3 Monitoring

Hi Peter,

 

We are able to see data in AppD console post changes of below. 

 

java -Xmx1024m -javaagent:/opt/appdynamics/appserver-agent/javaagent.jar -Dappdynamics.agent.applicationName=xxxx -Dappdynamics.agent.tierName=xxx -Dappdynamics.agent.nodeName= xxx-api_xxxx001 -version

 

Thanks for your great support on this . Very much appricaited