# Does the ActiveGate provide Agent Installers?  What would be the DL links?

**URL:** <https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582>\
**Category:** Open Q&A\
**Tags:** activegate\
**Created:** [October 13, 2017, 8:44pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582 "2017-10-13T20:44:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [October 13, 2017, 8:44pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/1 "2017-10-13T20:44:41Z")

</div>

I couldn’t find in the documentation if/how the security gate provides OneAgent installers (it should).

As it’s purpose is a gateway, there might not be direct download capabilities from the host where the agent should be installed to the Dynatrace Managed Server.

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [October 13, 2017, 10:05pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/2 "2017-10-13T22:05:38Z")

</div>

And if not how does the OneAgent detect that it should connect to the security gateway and not to the server. I guess that needs manual configuration of the OneAgent install?

Documentation on that is a bit vague 🙂

---

<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 16, 2017, 12:59pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/3 "2017-10-16T12:59:45Z")

</div>

Security gateway does not provide Oneagent installer images. Server does.  
You don’t have to download the image directly from the machine where oneagent is about to be installed. A single image (per platform) can be used.

AFAIK list of endpoints (server addresses + security gateways list) where agent is about to connect is embedded into the installer at download time.

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [October 16, 2017, 1:05pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/4 "2017-10-16T13:05:40Z")

</div>

It would be a cool improvement feature if the security gateway could work as proxy to provide the agent installers. That way a client could use the comfortable download of the agent with it’s autoconfig settings without the need of providing the agent via a separate download.

E.g. in the environment UI we know which security gateway is used, provide a wget command that pulls it from the server but proxied via SGW.

---

<div class="post-metadata">

**Author:** ![c\_zelabueno](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@c\_zelabueno](https://community.dynatrace.com/u/c_zelabueno)\
**Post date:** [July 17, 2018, 11:40pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/5 "2018-07-17T23:40:01Z")

</div>

Julius L. what about PaaS agent installers for Azure? Dynatrace Extension look to donwload agents through Rest API but I cant publish to Internet my Dynatrace Managed Server. I think that public security gateway should be able to reache to download paasInstallers..but it can’t.

---

<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:** [July 18, 2018, 7:18am UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/6 "2018-07-18T07:18:24Z")

</div>

Sorry, I don’t have any experience with the Azure extensions. But you are right, there are situations when only Dynatrace SGW is reachable. I would open a support ticket for this case.

---

<div class="post-metadata">

**Author:** ![mike\_villiger](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_villiger/32/41770_2.png) [@mike\_villiger](https://community.dynatrace.com/u/mike_villiger)\
**Post date:** [July 19, 2018, 1:54pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/7 "2018-07-19T13:54:10Z")

</div>

SGW does proxy API requests which is how the installer is fetched. It does not cache the installers though, it simply acts as a proxy for the requests.

---

<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:** [July 19, 2018, 2:07pm UTC](https://community.dynatrace.com/t/does-the-activegate-provide-agent-installers-what-would-be-the-dl-links/8582/8 "2018-07-19T14:07:01Z")

</div>

How do you make API call to installer downloads through the GW?  
If my SaaS environment is [https://abc1234.live.dynatrace.com](https://abc1234.live.dynatrace.com)

So API call is for example [https://abc1234.live.dynatrace.com/api](https://abc1234.live.dynatrace.com/api) / v1/time

Although I’ve been successful for calling the API via security gateway by spoofing the Host header with

```auto
curl -H "Host: abc1234.live.dynatrace.com" https://secgw.local:9999/api/v1/time

```

When trying to reach the installer download API, it always gives me 500 response code:

```auto
curl -H "Host: abc1234.live.dynatrace.com" "https://secgw.local:9999/api/v1/deployment/installer/agent/unix/paas/latest?Api-Token=abcd123456-123sdqweWS&arch=x86_64&flavor=default

```

```auto
{"error":{"code":500,"message":"Request has timed out."}}

```
