Splunk AppDynamics

PHP Agent and apache Web Server Agent

Ahmedkhalil
Communicator

Dears,

I am trying to install web server agent on the same server that already has php agent after i install web server agent and it's working php agent stop reporting data to the controller and also in flow map, they appear as disconnected nodes as attached please advise 

Labels (1)
1 Solution

Sandor_Bihary1
Explorer

Hey Guys!

In the meantime I figured this out.

The only thing I needed to do it to properly set the priority of the transaction detection:)

So anyone see the same issue just make sure the HTTP tier has higher priority than the PHP tier so that HTTP will be evaulated first.

Best,

Sandor

View solution in original post

Ayush_Ghosh
Path Finder

Hi Ahmed,

We need some more information about the setup.

OS

Apache version

Mod _PHP or PHP-FPM

Please attach the apache configuration for appdynamics after removing the value for controller url & access key.

Thanks

Ayush

Francois_Montel
New Member

Hi,

I must monitor Apache Instances and Php instances on the same server.

It's Mod_PHP (php cli)

Is-it possible?

Best,

François

0 Karma

Piyush_Mundra
Communicator

Hi François,

Please follow the discussion we are having on the zendesk ticket for this question.

Best Regards,

Piyush

0 Karma

Sandor_Bihary1
Explorer

Hey Team!

Could you share what was the solution here? I am facing the same issue (detached PHP and Apache nodes)

Best,

Sandor

0 Karma

Sandor_Bihary1
Explorer

Hey Guys!

In the meantime I figured this out.

The only thing I needed to do it to properly set the priority of the transaction detection:)

So anyone see the same issue just make sure the HTTP tier has higher priority than the PHP tier so that HTTP will be evaulated first.

Best,

Sandor

Ahmedkhalil
Communicator

OS: redhat 

controller-info.xml for php app :

extension = appdynamics_agent.so
agent.log4cxx_config = /usr/lib/appdynamics-php5/php/conf/appdynamics_agent_log4cxx.xml
agent.php_agent_root = /usr/lib/appdynamics-php5
agent.controller.port = 8090
agent.applicationName = PHP-Duabi
agent.tierName = web-tier
agent.nodeName = software

[root@software ~]# rpm -qa | grep -i http
httpd-tools-2.4.6-40.el7_2.4.x86_64
perl-HTTP-Tiny-0.033-3.el7.noarch
httpd-2.4.6-40.el7_2.4.x86_64
[root@software ~]# rpm -qa | grep -i php
php-tidy-5.4.16-4.el7.x86_64
php-xml-5.4.16-36.1.el7_2.1.x86_64
php-tcpdf-6.2.11-1.el7.noarch
php-php-gettext-1.0.11-12.el7.noarch
php-tcpdf-dejavu-sans-fonts-6.2.11-1.el7.noarch
php-soap-5.4.16-36.1.el7_2.1.x86_64
php-cli-5.4.16-36.1.el7_2.1.x86_64
php-5.4.16-36.1.el7_2.1.x86_64
php-mysql-5.4.16-36.1.el7_2.1.x86_64
php-gd-5.4.16-36.1.el7_2.1.x86_64
phpMyAdmin-4.4.15.7-1.el7.noarch
appdynamics-php-agent-4.3.0.2-1.x86_64
php-mbstring-5.4.16-36.1.el7_2.1.x86_64
php-bcmath-5.4.16-36.1.el7_2.1.x86_64
php-common-5.4.16-36.1.el7_2.1.x86_64
php-pdo-5.4.16-36.1.el7_2.1.x86_64
php-process-5.4.16-36.1.el7_2.1.x86_64
[root@software ~]#

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...