Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Monitor Apache Services In AIX?

If I understand correctly, httpd.conf of apache should be using 'LoadModule' syntax instead of 'export'.

But in the documentation I only see export:

So what is the correct syntax to add to the http.conf file to enable Apache service discovery in AIX?



DynaMight Legend
DynaMight Legend

Adding the export (preloading the library) is preferred with recent Oneagent version on AIX. You don't have to touch the apache configuration at all. You just need to ensure the environments are exported in the execution context where you start the apache server.

Adding the configuration manually to apache config files is still possible, but it is discouraged.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

So, where should I add these 3 lines to? If I want to monitor the apache in the AIX server?

Actually, depending on your installation, the best method I know is to include those environments (DT_HOME / LDR_PRELOAD / LDR_PRELOAD64) in the <apachehome>/bin/envvars :

export DT_HOME=/opt/dynatrace/oneagent
export LDR_PRELOAD64=$DT_HOME/agent/lib64/
export LDR_PRELOAD=$DT_HOME/agent/lib/

If your apache (ihs) is started using standard apachectl shell script (and not directly with httpd binary), this will work well. With OneAgent 1.175 this should not be necessary anymore since automatic injection should be available on AIX.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts