# Configure Dynatrace OneAgent for Monitoring Apache Server Processes

**URL:** <https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737>\
**Category:** Open Q&A\
**Tags:** installation, services-classic, apache\
**Created:** [December 13, 2019, 10:12am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737 "2019-12-13T10:12:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 13, 2019, 10:12am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/1 "2019-12-13T10:12:08Z")

</div>

_Summary:&nbsp;This post outlines how to ensure Dynatrace recognizes and monitors Apache server processes. It covers required process properties, OneAgent detection rules, and typical configuration adjustments._

Hi, I want to configure Dynatrace for my Apache web server on a Solaris Box. I have a few queries if anyone can help -

1. What is the full process of installing/configuring Dynatrace on Apache?

2. I have downloaded the zip file and configured it for Tomcat. Is it the same process for Apache as well?

3. Can we use the same zip file libraries to instrument Apache?

I know there are several posts out there telling the process and I have asked this before as well (incorrectly :)) but I just want to make sure i am doing it correctly because I will directly be doing on Production.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 13, 2019, 10:44am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/2 "2019-12-13T10:44:14Z")

</div>

![22902-1576233801125.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/3/83d69c58ad81e8da875c0e2b73115b52372d11a0.png)

As you can see here, for WebServer, there is separate binary file. You should download it. About instrumentation I suggest Appmon documentation, all steps related to unix should work:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3Df3849916-8e68-451f-b59b-d3516d29c8be&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

Sebastian

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 13, 2019, 11:11am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/3 "2019-12-13T11:11:46Z")

</div>

[@Sebastian K.](https://answers.dynatrace.com/users/15061/view.html) Hi Sebastian, Thanks for your quick response. However I have a query.

So I already have oneagent running for tomcat. My Apache is also on the same host and from this documentation it looks like there is no extra config is needed. Just need to load the liboneagentloader.so using Load\_module directive in httpd.conf file

LoadModule dtagent\_module /opt/tomcat/dynatrace/agent/lib64/liboneagentloader.so

However i wonder what is dtagent\_module here?

> **[Install OneAgent on Solaris](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/solaris/install-oneagent-on-solaris)**
>
> Find out how to configure Dynatrace to monitor applications of different technologies that run on Solaris (x86 and SPARC).

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 13, 2019, 11:32am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/4 "2019-12-13T11:32:19Z")

</div>

[@Sebastian K.](https://answers.dynatrace.com/users/15061/view.html) Hi Sebastian, one more thing. I have oneagent running on Tomcat and my apache is also on the same host but different zone.

Now if i just install oneagent on this Apache, where should i be making the configuration changes?

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 13, 2019, 11:41am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/5 "2019-12-13T11:41:53Z")

</div>

You are talking about OneAgent, but post in in Appmon forum, so my answer is related to appmon 🙂

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [December 13, 2019, 11:44am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/6 "2019-12-13T11:44:54Z")

</div>

[@Sebastian K.](https://answers.dynatrace.com/users/15061/view.html) I am sorry. I realized it later. Can you help me installing oneagent on Apache. As i said we have tomcat and apache on same host but are in different zones and we have oneagent running successfully on Tomcat.

Let me know if you can help please.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 13, 2019, 11:48am UTC](https://community.dynatrace.com/t/configure-dynatrace-oneagent-for-monitoring-apache-server-processes/22737/7 "2019-12-13T11:48:37Z")

</div>

About OneAgent:

[eBook: Java enterprise performance](https://www.dynatrace.com/news/blog/solaris-support-for-java-apache-http-server-now-available/) → here you have interesting blog post.

[Install OneAgent on Solaris — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/oneagent-solaris-install#installation) → here is documentation and all steps you need to follow (for Apache Http server as well).

Sebastian
