AppD Archive

Facing Problem while configuring Php-agent with appdynamics-saas server using script

CommunityUser
Splunk Employee
Splunk Employee

Hi 

I have  created the appdynamic saas account for trial. After login to that account when i want to download the Php-gent for centos its giving problem not able to download then i go for support url and downloaded the php-agent-tar.bz2 64 bit script and after extracting this, i have follwed the below procedures.


1) Untar the tarball containing the php agent using the command.
tar -xvjf appdynamics-php-agent-<<architecture>>-linux.tar.bz2
Example: tar -xvjf appdynamics-php-agent-x64-linux.tar.bz2
2) Configure agent.php_agent_root property to $php_agent_root directory in $php_agent_root/php/conf/appdynamics_agent.ini file
3) Configure controller-host, controller-port, application-name, tier-name
and node-name in the $php_agent_root/proxy/conf/controller-info.xml file.
If you're using a multi-tenant controller, also configure account-name
and account-access-key.

4) Make sure php 5.3.X is installed and Apache is configured to run php scripts:
sudo yum install httpd mod_ssl
sudo yum install php-mysql php-devel php-gd php-pspell php-xmlrpc php-xml
5) Stop Apache: sudo /etc/init.d/httpd stop
6) As root, copy contents of $php_agent_root/php/conf to the PHP INI files
directory (usually /etc/php.d/).
7) As root, cp --remove-destination $php_agent_root/php/modules/appdynamics_agent_php_5.3.so
to the extensions directory (usually /usr/lib64/php/modules/).
😎 Start Apache: sudo /etc/init.d/httpd start

and then go to the browser of  appdyanmics saas controller. Also try to configure the manually create application. But not able to connect the server which i want to moniter. Also i am little bit confused withoutt giving any information about the application how this going to moniter it. 

Please share the step by step procedure . so that i will be able to configure it for magento application for both php-appagent and application agaent. For mr application serveragent is not reporting.

0 Karma

Kyle_Furlong
Contributor

Hey nataraj.r,

The steps you are currently using appear to be out  of date. I will work internally to get them updated. In the mean time please follow the steps below:

1. Extract the PHP Agent Tarball to a directory of your choice which I call AppDynamicsAgentDir

2. cd AppDynamicsAgentDir

3. sudo ./install.sh <ControllerHostOrIp> <ControllerPort> <AppName> <TierName> <NodeName>

Please let me know if the install script works for you or if there are errors. Thanks for your interest in AppDynamics for PHP!

Best regards,

Kyle

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks Kyle for responding to this request.

Nataraj,

The documentation related to Kyle's note is available here - http://docs.appdynamics.com/display/PRO13S/Install+the+App+Agent+for+PHP+using+a+Shell+Script

Please follow the above and let us know how it goes. Additionally, would be great for us to understand which link gave you the old instructions that you noted in your post? As Kyle stated, they are quite old and we would like to get any old documentation removed/updated asap so that other users do not face this issue again.


Thanks

Sid

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...