You can incorporate proxies, load balancers, and reverse proxies in your Dynatrace deployment. In particular, your ActiveGate configuration allows you to define one or more proxies for outgoing connections.
custom.properties
file and set properties in the [synthetic]
section.[http.client]
section.You can use the following properties when configuring a proxy for your Synthetic-enabled ActiveGate.
Property
Description
proxy-server
Server address (hostname or IP address)
proxy-port
Port optional
If left empty, the default 8080
port is used.
proxy-scheme
Scheme optional
If left empty, the default http
scheme is used. This applies the most common setup, where the connection to the proxy is initiated using HTTP and automatically upgraded to a secure one. All further ActiveGate communication through the proxy is secured by SSL/TLS.
Must be set to https
for proxies that do not support HTTP at all.
proxy-user
User name optional
proxy-domain
User domain in the case of NTLM authentication
proxy-password
Password optional
The password provided in the proxy-password
property is obfuscated after ActiveGate restart, and the obfuscated password is stored in the proxy-password-encr
property.
If a comma (,
) is part of a value, you need to add an escape backslash (\
) before the comma. For example, proxy-password = foo\,bar
.
proxy-off
If set to true
, causes proxy to be disabled for the particular type of communication.
proxy-non-proxy-hosts
A list of hosts for communication with which proxy should not be used by ActiveGate
The hosts in the list should be separated by |
characters. You can also use an asterisk *
as a wildcard character to match any string. There can be only one wildcard character, either at the beginning or the end of the hostname. For example, proxy-non-proxy-hosts=*.foo.com|localhost
indicates that every host in the foo.com
domain and the localhost
should be accessed directly even if a proxy server is specified. For a full description of allowed syntax, see the syntax for the http.nonProxyHosts
parameter in Networking Properties.
proxy-authentication-schemes
ActiveGate version 1.271+
A list of proxy authentication schemes optional
This is a prioritized list of proxy authentication schemes that ActiveGate should use when authenticating with the proxy server.
Supported values: NTLM
, BASIC
These are the possible scenarios for your proxy configuration.
[http.client]proxy-server=<proxy>proxy-port=8080proxy-user=usernameproxy-password=password[synthetic]proxy-off=true
[http.client]proxy-server=<proxy>proxy-port=8080proxy-user=usernameproxy-password=password
To the Dynatrace Cluster
[http.client]proxy-server=<proxy>proxy-port=8080proxy-user=usernameproxy-password=password
To the tested resource
[synthetic]proxy-server=<proxy between AG and tested resource>proxy-port=9090proxy-user=username_twoproxy-password=password_two
The Synthetic-enabled ActiveGate needs access to the Amazon S3 service to upload and access screenshots for browser monitors on private locations.
[synthetic]proxy-server=<proxy between AG and tested resource>proxy-port=8080proxy-user=usernameproxy-password=password
See also Proxy Auto-Configuration (PAC) files.
[synthetic]proxy-server=<proxy between AG and tested resource>proxy-port=8080proxy-user=usernameproxy-password=passwordproxy-non-proxy-hosts=my.corp.org|*.gdansk.dynatrace.com
You can use Proxy Auto-Configuration (PAC) files to handle complex proxy configuration for private browser monitors.
A Proxy Auto-Configuration (PAC) file is a JavaScript function that determines whether web browser requests (HTTP, HTTPS, and FTP) go directly to the destination or are forwarded to a web proxy server (from developer.mozilla.org).
Use the script mode for single-URL browser monitors and browser clickpaths.
For new monitors, switch from Visual mode to Script mode.
For existing monitors, select Edit to open settings and select Recorded clickpath for clickpaths. Then switch to Script mode.
For existing single-URL browser monitors, select Monitor script.
You’ll need to add the following in the configuration
object of the JSON file:
"proxy": {"pacUrl": "https://www.example.com/test.pac"}
where pacUrl
points to your hosted PAC file.
For more information on script mode, see Script mode for browser monitor configuration.
[synthetic]
section.