Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the requirements for monitoring Apache with SELinux?

AppDynamics does not directly support SELinux. For troubleshooting SELinux, consult your security team.

 

This page lists the requirements for monitoring Apache with SELinux.

 

The Apache agent requires the following:

 

  • Read/write/execute privileges on <agent-install-dir>/logs directory.
  • Read/write/execute privileges on <agent-install-dir>/logs/appd-sdk directory.
  • The ability to read, write, create, and unlink Unix sockets.
  • The ability to create, write, add_name, remove_name, and setattr on class dir.
  • For automatically launching the proxy on RHEL/Centos 7, class capability2 block_suspend.
  • Read/execute privileges on <agent-install-dir>/WebServerAgent/Apache/libmod_appdynamics.so and/or libmod_appdynamics22.so.
  • Read/execute privileges on <agent-install-dir>/sdk_lib/lib/libappdynamics_native_sdk.so
  • Read/execute privileges on <agent-install-dir>/conf
  • Read privilege on <agent-install-dir>/conf/appdynamics_agent_log4cxx.xml

 

Note: Many of the read/write requirements can be met by setting the type, recursively, of the <agent-install-dir> to httpd_sys_rw_content_t.

Version history
Revision #:
2 of 2
Last update:
‎01-02-2019 03:12 PM
Updated by:
 
Labels (1)
Tags (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos