AppD Archive

Installing the AppDynamics agent for Ubuntu with nginx and php-fpm

CommunityUser
Splunk Employee
Splunk Employee

I'm trying to install the agent on an Ubuntu box running nginx and fpm. After following the steps on this page

https://docs.appdynamics.com/display/PRO41/Install+the+PHP+Agent+using+a+Shell+Script

and running

sudo bash install.sh -a=[removed]@[removed] paid138.saas.appdynamics.com 8090  insite-development dev-tier myNode

then restarting nginx and php-fpm, I get no response. I kind of just hit a brick wall and don't know about how to debug this. Any tips on where to start?

Thanks,

Dan

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Same thing here..I tried everything..the so extension is loaded, inserted the ini config directly to php.ini AND NOTHING!!!
I get only the top green line connecting, but not the php agent. This is waste of time.
Thank god I did not purchased it

0 Karma

Kyle_Furlong
Contributor

Hi deyan.dv,

Yeah, Ubuntu structures their config directories a little differently than other platforms. The install script will need a parameter to target the proper config directory for php-fpm. You may need to do some hunting for the proper directory, here's a command that might help: cd /etc && ls | grep php | xargs ls. It should give you some hints as to where the fpm conf.d directory resides.

On my local Ubuntu this is /etc/php5/fpm/conf.d. So the install.sh command would then be: sudo ./install.sh -i /etc/php5/fpm/conf.d <rest of command>.

Please let me know if that resolves this issue for you!

Thanks and regards,

Kyle

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Same setup, same issue. It is not working.

Documentation is confusing and not helpful at all. Spent quite some time reading the doc to get started yet it is not working.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...