question

Shashank A. avatar image
Shashank A. asked ·

How oneagent works

I am trying to understand how oneagent gets installed and how it works? We only supply the below 2 parameters in startup.sh script and restart the tomcat and out of the blue everything starts working but what i want to understand is how it does it internally like how this magic happens?

What does this library (liboneagentproc.so) do as we supply it into LD_PRELOAD_64 environment variable. We are not even mentioning it into JVM parameters then how it is injecting itself?

LD_PRELOAD_64=$DT_HOME/agent/lib64/liboneagentproc.so
export LD_PRELOAD_64

Dynatrace Managedoneagentadministrationinstallationapplication monitoring
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Dante P. avatar image
Dante P. answered ·

Hey, the magic is in http://man7.org/linux/man-pages/man8/ld.so.8.html (ld.so.preoload) and a few other things that our friends at dynatrace baked in the oneagent. Prop to the reason that (AFIK) there is not another agent that do this OOTB in the market.


This might be of help:


https://www.dynatrace.com/support/help/technology-support/operating-systems/linux/installation/install-oneagent-on-linux/#expand-963what-happens-during-installation


Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android