cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using multiple proxies with Dynatrace Managed

Julius_Loman
DynaMight Guru
DynaMight Guru

Dynatrace Managed allows using only a single HTTP proxy This proxy is used for outbound connections such as Mission Control or Problem notifications. In more complex environments, there are sometimes situations when you need to use different proxies for different purposes. For example one proxy for access to internet access, another proxy for some integrations, etc.

A simple solution for that is to deploy tinyproxy on the Managed nodes, configure the upstream rules and have the Managed use the tinyproxy for outbound communication.

  • Tinyproxy is present in package repositories for all major Linux distributions, so it's easy to install and configure.
  • You need to just set the upstream rules, for example:

 

 

upstream http 10.10.10.254:8080 ".acme.com"
upstream http 192.168.254.254:8888 ".dynatrace.com"

 

This example uses different upstream proxies for communication to .acme.com and .dynatrace.com 

 

  • Configure Managed to use the tinyproxy, tinyproxy listens by default on port 8888.
    Julius_Loman_0-1673341570325.png

     



  • If your Managed Cluster has multiple nodes, deploy tinyproxy on all nodes (if installed locally on Managed node). You can of course deploy tinyproxy to another host - if required.

 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner
5 REPLIES 5

Mizső
DynaMight Leader
DynaMight Leader

Hi @Julius_Loman ,

Great tip! Thanks for sharing!

Best regards,

Mizső

Certified Dynatrace Associate

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Indeed that's great! Thank you Julius! I wonder if we shouldn't put it into official documentation... 

Senior Product Manager,
Dynatrace Managed expert

If dealing with updating documentation around managed proxy, please also consider to add explanation aboout the new(?!)  Exclude host part ..... 

Yosi_Neuman_0-1673346067807.png

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

it's already there:

>>>

Also, you can exclude hosts from using the proxy. This is useful, for example, when you have configured problem integrations via webhooks with software residing in the internal network. Use a wildcard (*) at the beginning or at the end of each host entry to include all URLs within a defined host domain.

 

https://www.dynatrace.com/support/help/shortlink/managed-proxy#using-cluster-management-console

Senior Product Manager,
Dynatrace Managed expert

Stand corrected.

Once again did not read till the end :facepalm:

Anyhow I would give it a small header .....

All the best and stay safe

Yos  

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel