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 ~]#

Get Updates on the Splunk Community!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...