Flex Agent wizard installation and configuration
Use this workflow to ensure you have all the steps covered for installing and configuring the Flex Agent.
The Flex Agent lets you install and configure multiple agents from one package without having to specify specific languages. Using the Add New Multi-language install wizard is the simplest way to deploy new agents.
You can also use the Flex Agent to upgrade deployed agents.
Before you begin
Make sure you have everything you need before you start.
The agent will need to be able to reach your Contrast instance. It can be a local/on-premise instance or a hosted instance. A proxy can be configured if the environment has limited network access.
Understand the order of precedence
Supported languages: .NET, Java, Node.js, and Python.
Supported operating system: Linux
You will also need access to a command line interface (with a chosen directory for downloading the agent) and your organization's instance of Contrast
Start the Flex Agent wizard
Select Add New at the top of the Contrast web interface.
Select the Application card.
Under Select a language, select Multi-language install.
Install the Flex Agent
Under Install Flex Agent, select the agent key that lets the agents communicate with Contrast. Use the displayed command to install the agent package.
Use the displayed command to install the agent package and register it into your system. Use the
sudo
command if required in your environment:
Verify the agent deployment
Restart your application after you install the Flex Agent.
Interact with your application as you normally would. For example, interact with your application's web interface or send API commands
Go to the Contrast web interface and select Applications in the header.
Verify that you see the name of your application in the list.
Select servers in the header.
Verify that you see the name of your local server in the list.
Flex Agent logging
For troubleshooting purposes, you can increase injector logging levels. To do so, add the environment variable CONTRAST_FLEX_INJECTOR_LOG_LEVEL=TRACE
to your application start command. Adding this variable globally results in overly verbose logging.