# Proxy setting in Dynatrace

**URL:** <https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635>\
**Category:** Alerting\
**Tags:** dynatrace-managed, problem-notification, oneagent, problems-classic\
**Created:** [October 20, 2020, 5:14pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635 "2020-10-20T17:14:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 20, 2020, 5:14pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/1 "2020-10-20T17:14:10Z")

</div>

Hi, I have dynatrace set up as managed DT and now I am trying to integrate with various services like Netcool, Slack etc by setting up the webhooks.

Recently when I was trying to hook it up with Netcool, I was getting custom integration failed but then i raised a support ticket and they asked me to do these settings which I did and it then worked. Netcool service integrated successfully.

```auto
<server/conf/config.properties><br>[http.client.external]<br>proxy-off = true

```

BUT then my other integrations with Slack started failing. Is there a way to get around this?

Slack webhook looks like this - [Slack developer docs | Slack Developer Docs](https://hooks.slack.com/services)\*  
Netcool webhook looks like this - [https://myntlserver.com/probe/dynatraces](https://myntlserver.com/probe/dynatraces)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 20, 2020, 6:10pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/2 "2020-10-20T18:10:46Z")

</div>

Unfortunately, Dynatrace does not have such detailed proxy settings that would allow you to specify host/domains to go via proxy or to ignore proxy. I hope Dynatrace will finally come with a solution to specify proxy ignore rules.

The [http.client.external] is, AFAIK, the settings for HTTP communication targeted outside the cluster - so this applies for mission control, and integrations (Slack, Webhook, .. ).

If you require some of those targets to go via proxy and for some not, you have basically two options now:

1. Modify your proxy in the way that also internal communication (Netcool in your case I assume) will go via proxy. This depends on your company network security policy.
2. Install a local proxy server, on the cluster nodes. For example, I recommend _tinyproxy_, which has small footprint and allows you to define rules for upstream proxies easily.  
You then specify just the localhost as the proxy in the CMC. All HTTP communication will go to this local proxy and then, based on rules, either forwarded to upstream proxy or the proxy will directly connect.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 20, 2020, 9:59pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/3 "2020-10-20T21:59:28Z")

</div>

You can achieve that by adding to the configuration you mentioned another property called “proxy-non-proxy-hosts”.

In you example:

```auto
<server/conf/config.properties><br>[http.client.external]<br>proxy-off = true<br>proxy-non-proxy-hosts = <a rel="noopener noreferrer nofollow" href="https://hooks.slack.com/services*" target="_blank">hooks.slack.com/services*</a>

```

That configuration should make that calls executed to the specified domain don’t go over the proxy. Make sure this is applied to all nodes and is followed by server restart.

The extended configuration of proxy in Cluster Management Console, allowing to specify that should be available early Q1 next year.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 21, 2020, 6:09am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/4 "2020-10-21T06:09:08Z")

</div>

This unfortunately never worked for me last time I’ve tried - a few months ago. I should give it another try.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 21, 2020, 6:14am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/5 "2020-10-21T06:14:02Z")

</div>

should work since 1.198. Let me know if it’s not.

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 21, 2020, 8:49am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/6 "2020-10-21T08:49:23Z")

</div>

[@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html)  
What does this setting means?

proxy-non-proxy-hosts = [hooks.slack.com/services\*](https://hooks.slack.com/services*)

Basically my Dynatrace is inside corporate network and the targets Netcool are **internal** and Slack is **external.**

**How do i configure so that Netcool doesn’t use Proxy but Slack uses proxy?**

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 21, 2020, 8:55am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/7 "2020-10-21T08:55:01Z")

</div>

Ah… so I understood that opposite. As I wrote - the property defines which hostnames should be ignored by the proxy. In that case you should put Netcool’s hostname instead as it’s internal and shouldn’t use the proxy:

```auto
<server/conf/config.properties><br>[http.client.external]<br>proxy-off = true<br>proxy-non-proxy-hosts = <a rel="noopener noreferrer nofollow" href="https://myntlserver.com/probe/dynatraces" target="_blank">myntlserver.com/probe/dynatraces</a>

```

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 21, 2020, 9:40am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/8 "2020-10-21T09:40:59Z")

</div>

[@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html) Thank you. But proxy-off = true means proxy is switched off right. How will these configuration will make sure the proxy is applying to Slack but NOT for Netcool

```auto
<server/conf/config.properties> <br>[http.client.external]<br>proxy-off = true<br>proxy-non-proxy-hosts = <a rel="noopener noreferrer nofollow" href="https://myntlserver.com/probe/dynatraces" target="_blank">myntlserver.com/probe/dynatraces</a>

```

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 21, 2020, 10:43am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/9 "2020-10-21T10:43:17Z")

</div>

True! My bad! You should get rid of prox-off line and define proxy parameters instead.

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 21, 2020, 11:06am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/10 "2020-10-21T11:06:06Z")

</div>

[@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html)  
So yes I tried to configure that earlier but it didn’t work and then DT support said to use proxy-off. It worked but then failed for other targets.

Is that the below setting works only with certain version of Dynatrace?

```auto
<server/conf/config.properties><br>[http.client.external] <br>proxy-non-proxy-hosts = <a rel="noopener noreferrer nofollow" href="https://myntlserver.com/probe/dynatraces" target="_blank">myntlserver.com/probe/dynatraces</a>t

```

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 21, 2020, 11:59am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/11 "2020-10-21T11:59:50Z")

</div>

Since 1.198 .. what’s the version you have?

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 21, 2020, 2:08pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/12 "2020-10-21T14:08:21Z")

</div>

We are using this - Version 1.200.103.20200903-152540.

So it won’t work? Is there any other way?

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 21, 2020, 2:15pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/13 "2020-10-21T14:15:31Z")

</div>

[@Julius L.](https://answers.dynatrace.com/users/16467/view.html) Hello, I am not able to find your answer you posted earlier. Could you please post that again. I think that had some useful information about using local proxy server.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 21, 2020, 2:34pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/14 "2020-10-21T14:34:03Z")

</div>

Did you restart the Dynatrace Cluster node after adding the proxy-non-proxy-hosts?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 21, 2020, 2:35pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/15 "2020-10-21T14:35:14Z")

</div>

I undeleted it right now. [@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html)'s answer is better. I had to deal with the situation when the proxy option mentioned was not in the product yet.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 21, 2020, 5:26pm UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/16 "2020-10-21T17:26:50Z")

</div>

Julius, I like you reply as well. Whereas it’s harder to implement, it provides more power and is a valid solution.

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 22, 2020, 8:45am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/17 "2020-10-22T08:45:35Z")

</div>

[@Julius L.](https://answers.dynatrace.com/users/16467/view.html) [@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html) Yes we started all 3 nodes of our dynatrace cluster but it didn’t work. So as soon as we switch to the below setting, Slack integration works but Netcool integration fails.

Also How do i check if my Dynatrace cluster is using which proxy server for the outbound communication? I don’t remember defining it anywhere.

Is there a place I can check?

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 22, 2020, 9:03am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/18 "2020-10-22T09:03:04Z")

</div>

All outgoing requests will go over the proxy defined in CMC → Settings → Internet connection. Do you have a proxy there?

---

<div class="post-metadata">

**Author:** ![shashank\_b\_agra](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank\_b\_agra](https://community.dynatrace.com/u/shashank_b_agra)\
**Post date:** [October 22, 2020, 10:12am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/19 "2020-10-22T10:12:43Z")

</div>

ah yes. I got it. There is a proxy server configured which means every external communication like (Slack) is going via proxy. And if we switch it off in settings with **proxy-off = true** then it stops working but at the same the Netcool integration works because that doesn’t need proxy as it’s hosted internally. I already tried the below settings, configured them all 3 nodes and restarted the cluster but it didn’t work. Any ideas?

As i mentioned my DT version is Version 1.200.103.20200903-152540. Are you sure that it won’t work with this version?

```auto
<server/conf/config.properties> <br>[http.client.external] <br>proxy-non-proxy-hosts = <a rel="noopener noreferrer nofollow" href="https://myntlserver.com/probe/dynatraces" target="_blank">myntlserver.com/probe/dynatraces</a>

```

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 22, 2020, 10:51am UTC](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635/20 "2020-10-22T10:51:37Z")

</div>

But you have to define additionally:

```auto
<server/conf/config.properties>

```

```auto
<br>proxy-server=<proxy-server><br>proxy-port=<port><br># http or https<br>proxy-scheme=<protocol><br># basic authentication credentials (optionally)<br>#proxy-user=username<br>#proxy-password=password

```

And also - do you use a proxy to Mission Control? I’m afraid that may overwrite what is configured in the config file.

[Next page](https://community.dynatrace.com/t/proxy-setting-in-dynatrace/20635.md?page=2)
