Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
07-25-2017 08:18 AM
Hi,
I have the controller installed and running.
I can create a database agent, install it on my Drupal server and see some database data.
How do I create an agent that can monitor my Drupal Application?
Thanks
Solved! Go to Solution.
07-25-2017 08:25 AM
Hi,
If you are running PHP on the server, you can install the PHP agent and monitor it. Please go through the documentation link at https://docs.appdynamics.com/display/PRO43/Install+the+PHP+Agent for more information on the agent installation.
Best Regards,
Piyush
07-25-2017 09:39 AM
07-25-2017 11:29 AM
Matching Application and Tier.
Agent Connected Waiting for data... and waiting and waiting. :-)
Have used a websirte copier to generate traffic.
See image.
07-25-2017 12:09 PM - last edited on 09-20-2023 11:45 AM by Ryan.Paredez
Attached php -i output.
installed the agent with the following syntax:
./install.sh -a=12345-ss-abcdef-12gg23w33ewe@sdfsdf-sdfsdf-sdfsdf-sfs-fsfdsfsd -e /usr/lib/php5/20121212 -i /etc/php5/apache2 hostna.e.domain.com 8090 Drupal7 myTier myNode
Ideas?
^Post edited by @Ryan.Paredez to remove file attachment.
07-25-2017 09:30 PM
Hi,
Please try with follwoing command after replacing the proper placeholders for account name, access key, controller host and port.
./install.sh -a=ACCOUNT_NAME@ACCESS_KEY -e /usr/lib/php5/20121212 -i /etc/php5/apache2/conf.d CONTROLLER_HOST CONTROLLER_PORT Drupal7 myTier myNode
Best Regards,
Piyush
07-25-2017 09:39 PM
Hi,
After the agent installation, please restart the Apache server and drive some load on the application. If the issue still persists, please provide us the output of phpinfo() from apache.
Best Regards,
Piyush
07-26-2017 06:43 AM
Thanks Piyush,
Attached phpinfo.txt created with phpinfo.php in docroot.
Yesterday I was using 4.3.3.7
I uninstalled everything and tried with 4.3.3.8... Can't even get a connection now. :-(
Here's the command and output, as root, to install the agent.
./install.sh -a=ACCOUNT@KEY -e /usr/lib/php5/20121212 -i /etc/php5/apache2 ped19879 8090 Local_WxT Drupal localweb
Install script for AppDynamics PHP Agent 4.3.3.8GA.12943.e7ff8.......... Found PHP installation in /usr/bin Detected PHP Version: PHP 5.5.9-1ubuntu4.21 (cli) (built: Feb 9 2017 20:54:58) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies PHP version id: 5.5 PHP extensions directory: /usr/lib/php5/20121212 PHP ini directory: /etc/php5/apache2 Controller Host: ped19879 Controller Port: 8090 Application Name: Local_WxT Tier Name: Drupal Node Name: localweb Account Name: XXXXX Access Key: YYYYY SSL Enabled: false HTTP Proxy Host: HTTP Proxy Port: HTTP Proxy User: HTTP Proxy Password File: Writing '/home/developer/appdynamics-php-agent/php/conf/appdynamics_agent_log4cxx.xml' Writing '/etc/php5/apache2/appdynamics_agent.ini' Writing '/home/developer/appdynamics-php-agent/proxy/conf/controller-info.xml' rm -f "/usr/lib/php5/20121212/appdynamics_agent.so" ln -s "/home/developer/appdynamics-php-agent/php/modules/appdynamics_agent_php_5.5.so" "/usr/lib/php5/20121212/appdynamics_agent.so" Writing '/home/developer/appdynamics-php-agent/proxy/runProxy'
,
07-26-2017 07:37 AM
Hi,
The latest phpinfo shows that the agent is installed and hooked in but it looks like one of the configuration parameter might be an issue. Could you please check specifically for accountName configuration parameter which seems to be wrong. You can verify these agent config details in /etc/php5/apache2/conf.d/appdynamics_agent.ini file. Could you also please check if there are any log files generated in /home/developer/appdynamics-php-agent/logs folder which might give some hint on the issue.
Best Regards,
Piyush
07-26-2017 08:09 AM
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form