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
10-26-2018 12:09 PM
Is it possible to configure the apache virtualhost settings for the php agent to use to use the linux environemnt var for hostname --> $HOSTNAME or something to the affect of $HOSTNAME - virtappname
php_value agent.nodeName frontend-node1
We have a common apache httpd conf file that gets edited and then rolled out to the cluster. All other php config settings are the same except the hostname used for each virtual app.
10-26-2018 12:43 PM
Hi Richard,
I believe we can use the ${ENVVAR} substitution syntax in this case. So you could do:
php_value agent.nodeName ${HOSTNAME}
Assuming that HOSTNAME is in the environment variables for the Apache process.
Thanks,
Kyle Furlong, Technical Lead (C++ and Dynamic Languages)
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form