Copyright IBM Corp. 2018, 2018 This code is released under the Apache 2.0 License.
This template will install the IBM Application Performance Management Agent on a target host. The agents enabled is dependant on the apm_agents parameter, only those that are automatically configured will be configured. A seperate Integration Template must be called to configure specific agents such as was.
Script Remote, executes on the remote host.
This template must be executed after the successful creation of a Virtual Machine via a Terraform Template.
- on_create Installs and registers the APM Agent.
- on_delete Not implemented.
- An installed APM Server, the location details should be pre-filled in the APMADV_Agent_Install.tar file.
- The APMADV_Agent_Install.tar file or equivalent, stored on a URL reachable location, for example, a HTTP Server. This file may be generate from the Server or distributed with an SAAS APM Offering.
- The target server must be able to reach APM Server.
- The target server must have greater than 4GB availible in /tmp.
- The target server must have remote logins enabled.
Variable | Description |
---|---|
ip_address | IP Address of the target server. |
user | User on the target server to execute the installation. |
password | Password of the user. |
apm_method | URI type for download, http reccomended. |
apm_location | Source for the APM Agent installer, eg http://IP_ADDRESS:8888/apm-agent/APMADV_Agent_Install.tar |
apm_source_subdir | Name of the subdir within the tar file that the installer is located in, eg, APMADV_Agent_Install_8.1.4.0.1 |
apm_dir | APM Installation Directory, default = /opt/ibm/apm/agent. |
apm_agents | List of APM agents to install, eg, os. |