Could you please let me know the steps to be followed to detect java process on solaris(SPARC) machine. Apache is the only process visible on the oneagent tenant.
We have added below code in apachectl script and it started detecting apache. The sameway is there any process to add the code to detect java as well?
Appreciate your help.
Hello @Chakravarthula P.
You can set up OneAgent to monitor every application in your current application context. To do this, add the following code in your script or shell. Ensure that they are executed prior the application you want to monitor. You should not do this system-wide or for login users.
Please have a look on the below link for monitoring every Java and Apache HTTP service in your execution context.
Thanks for the comment.
We tried adding the code in java startup script and restarted the JVM with no luck:(
Could you please suggest whatelse can be done or checked?
Does the LD_PRELOAD environment explicitly need to be set for OneAgent to be able to monitor a Java application? Specifically, I'm running a Spring boot application within docker. Does the docker environment variable LD_PRELOAD explicitly need to be set?
I could not find any reference in the official documentation that requires this to be set explicitly.