# Anyone have experience to monitor IHS on AIX 7.1 with Dynatrace Managed?

**URL:** <https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736>\
**Category:** Dynatrace Managed\
**Tags:** installation, aix\
**Created:** [May 7, 2018, 8:25pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736 "2018-05-07T20:25:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesar\_saravia](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@cesar\_saravia](https://community.dynatrace.com/u/cesar_saravia)\
**Post date:** [May 7, 2018, 8:25pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/1 "2018-05-07T20:25:49Z")

</div>

The dynatrace documentation indicates we have to setup manually the IBM HTTP Server. Where we’ve to add this parameters?

 ![16739-aix-ihs.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/2/32e8c16e899bc32cf7c71d9c3fe4bf606eff66d7.png)

Only execute this command on the host? or any application context?

---

<div class="post-metadata">

**Author:** ![ryan\_shaw1](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@ryan\_shaw1](https://community.dynatrace.com/u/ryan_shaw1)\
**Post date:** [November 7, 2019, 4:45pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/2 "2019-11-07T16:45:49Z")

</div>

Just ran into this as well - the documentation is not very helpful / outdated.

After you install the agent open the configuration file of the agent located in (replacing $DT\_HOME with your install directory) $DT\_HOME/agent/conf/ruxitagent.conf and copy the value of Server, Tenant, and TenantToken for later use.

Then these are the lines you would add to your httpd.conf in order to instrument (I’m sure you could just use the local activegate address or cluster address for server if you wanted as well):

LoadModule oneagent\_module $DT\_HOME/agent/lib64/liboneagentloader.so

OneAgentConfig tenant=\<tenant-id\>,tenantToken=\<tenant-token\>,server=\<server\>

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 7, 2019, 8:50pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/3 "2019-11-07T20:50:16Z")

</div>

The proper method is to put those variables into IHSHOME/bin/envvars file. Same for Apache HTTP server.  
This is standard file for environment variables picked up when starting / shutting down IHS / Apache using apachectl (the standard and preferred method for starting / stopping IHS or apache).

If you are using default Oneagent installation directory, the file should look like this:

```auto
export DT_HOME=/opt/dynatrace/oneagent<br>export LDR_PRELOAD64=$DT_HOME/agent/lib64/liboneagentproc.so<br>export LDR_PRELOAD=$DT_HOME/agent/lib/liboneagentproc.so

```

Another method is to use the autoinstrumentation on AIX available [as EAP feature](https://www.dynatrace.com/news/blog/fully-automatic-code-level-monitoring-and-extended-version-support-for-aix/).

The method by putting the module into httpd.conf is obsolete and should be avoided. This applies for very old Oneagent.

---

<div class="post-metadata">

**Author:** ![ryan\_shaw1](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@ryan\_shaw1](https://community.dynatrace.com/u/ryan_shaw1)\
**Post date:** [November 8, 2019, 3:15pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/4 "2019-11-08T15:15:45Z")

</div>

Thank you!! I’m not an expert in IBMIHS and the teams I worked with didn’t know what to do with those two lines when I provided the documentation so I used the fall back.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 8, 2019, 3:18pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/5 "2019-11-08T15:18:57Z")

</div>

You are welcome. The approach will definitely work both IHS, Apache HTTP server and probably also to other derivations (OHS for example). You just need to start the HTTP server using the startup scripts and not directly by running httpd binary.

---

<div class="post-metadata">

**Author:** ![ryan\_shaw1](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@ryan\_shaw1](https://community.dynatrace.com/u/ryan_shaw1)\
**Post date:** [November 8, 2019, 4:03pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/6 "2019-11-08T16:03:47Z")

</div>

Is that different than starting with **apachectl start**?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 8, 2019, 7:38pm UTC](https://community.dynatrace.com/t/anyone-have-experience-to-monitor-ihs-on-aix-7-1-with-dynatrace-managed/11736/7 "2019-11-08T19:38:36Z")

</div>

The apachectl runs the httpd binary in the end as well.

I’ve seen customers with custom apache builds starting and stopping the process directly, but this is not very common.

Just in your case ensure the process is started using the startup script (apachectl or other script caling apachectl).
