# Update ActiveGate automatically

**URL:** <https://community.dynatrace.com/t/update-activegate-automatically/43836>\
**Category:** Open Q&A\
**Tags:** installation, activegate\
**Created:** [January 25, 2024, 5:03pm UTC](https://community.dynatrace.com/t/update-activegate-automatically/43836 "2024-01-25T17:03:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanrergis](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@juanrergis](https://community.dynatrace.com/u/juanrergis)\
**Post date:** [January 25, 2024, 5:03pm UTC](https://community.dynatrace.com/t/update-activegate-automatically/43836/1 "2024-01-25T17:03:59Z")

</div>

Good afternoon, I have some agents installed on machines that do not go online.  
What we do is that every 6 months we download the agent and take it from a repository  
which does not have internet access either, you have to tell the agent to look for the update  
in the repository that I manage?

---

<div class="post-metadata">

**Author:** ![kobecharles](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kobecharles/32/25438_2.png) [@kobecharles](https://community.dynatrace.com/u/kobecharles)\
**Post date:** [January 25, 2024, 6:02pm UTC](https://community.dynatrace.com/t/update-activegate-automatically/43836/2 "2024-01-25T18:02:37Z")

</div>

Hi if the agent does not go online then it cannot update automatically and neither can the active gate. You would have to download the new versions manually to update the repositories.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [January 26, 2024, 7:24am UTC](https://community.dynatrace.com/t/update-activegate-automatically/43836/3 "2024-01-26T07:24:25Z")

</div>

Keep in mind that agents can be downloaded from the Activegate&nbsp; see:

> **[Deployment API - Download latest OneAgent](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/deployment/oneagent/download-oneagent-latest)**
>
> Download the latest OneAgent installer via Dynatrace API.

| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/installer/agent/{osType}/{installerType}/latest |
| --- | --- |

If you need to manually deploy the agents and activegates from your repository,&nbsp;Puppet or Ansible can be used to automate it.

> **[OneAgent deployment orchestration](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent-classic/deployment-orchestration)**
>
> Learn how to deploy OneAgent using deployment orchestration

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [January 26, 2024, 9:25am UTC](https://community.dynatrace.com/t/update-activegate-automatically/43836/4 "2024-01-26T09:25:39Z")

</div>

You can do exactly as [@PacoPorro](https://community.dynatrace.com/user/40713)&nbsp;wrote.  
Otherwise you have to perform the update manually as the previous collegues wrote.
