AppD Archive

AppD not detecting load

CommunityUser
Splunk Employee
Splunk Employee

Hello,

 I've setup an AppD controller on it's own server. I have my application running on another web server with the AppD php agent installed. Both machines are CentOS 7.  I setup the following variables up in /etc/profile

APPD_PHP_PATH="/bin/php"

APPD_PHP_CONFIGURATION_DIR="/etc/php.d"

APPD_PHP_EXTENSION_DIR="/usr/lib64/php/modules"

APPD_PHP_VERSION="5.4.40"

APPD_CONF_CONTROLLER_HOST="appd.mydomain.com"

APPD_CONF_CONTROLLER_PORT="443"

APPD_CONF_TIER="Web Front End"

APPD_CONF_NODE="web1.mydomain.com"

APPD_CONF_SSL_ENABLED="true"

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL APPD_PHP_PATH APPD_PHP_CONFIGURATION_DIR APPD_PHP_VERSION APPD_CONF_CONTROLLER_HOST APPD_CONF_CONTROLLER_PORT APPD_CONF_TIER APPD_CONF_SSL_ENABLED

Then installed the rpm version:

appdynamics-php-agent-4.0.5.0-1.x86_64

 I elected to use the SSL port when setting up the agent. Made sure all firewall ports were open on the AppD host. And restarted apache on the web server, then put some load on the app using apache bench. But the AppD machine is saying "no load detected for time range" and the graphs are empty.

I notice that if I do a status on httpd I'm seeing a bunch of SELinux errors related to AppD:

[root@web1:~] #systemctl status httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Sat 2015-05-09 22:55:30 EDT; 4s ago
Process: 26527 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 26710 (httpd)
Status: "Processing requests..."
CGroup: /system.slice/httpd.service
├─26710 /usr/sbin/httpd -DFOREGROUND
├─26716 /usr/lib/appdynamics-php5/proxy/jre/bin/java -server -Xmx300m -Xms50m -classpath /usr/lib/appdynamics-php5/proxy/c...
├─26718 /usr/bin/newrelic-daemon -A -s -p /var/run/newrelic-daemon.pid -l /var/log/newrelic/newrelic-daemon.log -d verbose...
├─26719 /usr/sbin/httpd -DFOREGROUND
├─26720 /usr/sbin/httpd -DFOREGROUND
├─26721 /usr/sbin/httpd -DFOREGROUND
├─26722 /usr/sbin/httpd -DFOREGROUND
├─26723 /usr/sbin/httpd -DFOREGROUND
├─26725 /usr/bin/newrelic-daemon -A -s -p /var/run/newrelic-daemon.pid -l /var/log/newrelic/newrelic-daemon.log -d verbose...
└─26771 /usr/sbin/httpd -DFOREGROUND

May 09 22:55:33 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from write access on th...y logs.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:33 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from write access on th...y logs.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:33 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from write access on th...y logs.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:34 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from write access on th...y logs.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:34 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from write access on th...81.tmp.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:34 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from remove_name access...81.tmp.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:34 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from remove_name access...81.tmp.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:34 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from block_suspend acce...nknown.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:35 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from setattr access on ...q.so.0.

***** Plugin catchall (100. confidence) suggests **************************...
May 09 22:55:35 web1 python[26717]: SELinux is preventing /usr/lib/appdynamics-php5/proxy/jre/bin/java from setattr access on ...ory tp.

***** Plugin catchall (100. confidence) suggests **************************...
Hint: Some lines were ellipsized, use -l to show in full.

Which is really odd. Because, I have SELInux turned off!!

[root@web1:~] #getenforce
Permissive

So I have no blinkin' clue what could be going on with those SELinux messages.

I'm new to AppD and have no idea where to go from here. Can someone please help me troubleshoot this problem?

Thanks

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...