Can I provide environment variables in apminsight.conf file?

Can I provide environment variables in apminsight.conf file?

Yes, it can be done by enclosing the environment variable with { }. This can be done for all the options in apminsight.conf file.


Note: The agent looks for the environment variable in ENV hash only

 

Example:

                             
application.name={app_name}
 
      Here app_name is an environment variable

                  New to ADSelfService Plus?

                    • Related Articles

                    • Troubleshoot - Duplicate APMInsight Monitors

                      Introduction Duplicate monitors might be created in APMInsight due to various reasons. This article will help you identify and resolve the issue of duplicate monitors. The common causes include: - Changes in monitor configuration. (apminsight.conf ...
                    • Where can i find the apminsight.conf file ?

                       You can find the apminsight .conf under <Gems Installed folder>/apminsight/conf . You can copy the apminsight .conf file to your Applications home directory.                                                                              OR  If you ...
                    • Folder path of apminsight.conf file for Ruby gem, .NET, Java and PHP

                      Ruby gem:                  <Gems Installed folder>/appmanager_apminsight/conf  You have to copy the apminsight.conf file to your Applications home directory.  Example :   ...
                    • How to resolve the error "ManageEngine Ruby agent configuration file does not exist in apminsight.conf" ?

                      After installation of the Ruby agent,  please follow the steps below to ensure that the above error message does not come up: Copy the apminsight.conf file from {gem_installed_directory}/appmanager_apminsight/conf directory to application home ...
                    • Self monitor Applications Manager using APM Insight Java Agent

                      Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...