# Auto instrumentation of Oneagent and Active gate metrics

**URL:** <https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643>\
**Category:** Open Q&A\
**Tags:** dynatrace-saas\
**Created:** [February 19, 2019, 8:58am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643 "2019-02-19T08:58:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [February 19, 2019, 8:58am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/1 "2019-02-19T08:58:44Z")

</div>

Hi

1. Customer is saying there is a possibility to automate the one agent installation through some script for example python script or any other. Could you please confirm if there is any possibility as such?

2. Also please help us with the metrics that can be monitored on the server on which active gate is installed (Active gate server).

Thanks&Regards

Sangeetha

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [February 19, 2019, 9:13am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/2 "2019-02-19T09:13:30Z")

</div>

Installing the OneAgent is just the three simple steps on the _deploy dynatrace_ page. Download, verify, run the installation script. You can script that process with any language you want.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [February 19, 2019, 9:32am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/3 "2019-02-19T09:32:00Z")

</div>

As Patrick said installing agent is really simple process and can be done via automation processes. Our clients is doing it daily with our help. Dynatrace provide API url that serves always newest version of agent binary.

About ActiveGate, this component doesn’t collect metrics by itself. Metrics can be collected via ActiveGate plugins from external hosts / devices

[https://www.dynatrace.com/support/help/extend-dyna…](https://www.dynatrace.com/support/help/extend-dynatrace/activegate-plugins/)

Sebastian

---

<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:** [February 19, 2019, 9:32am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/4 "2019-02-19T09:32:09Z")

</div>

Regarding your second question - you cannot monitor local server metrics with ActiveGate. You need to install OneAgent on the host to monitor OS metrics. The ActvieGate monitors the CPU usage/RAM, but this is related only to the ActiveGate process itself.

---

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [February 19, 2019, 10:22am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/5 "2019-02-19T10:22:26Z")

</div>

Thank you patrick

---

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [February 19, 2019, 10:22am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/6 "2019-02-19T10:22:47Z")

</div>

Thank you Sebastian

---

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [February 19, 2019, 10:23am UTC](https://community.dynatrace.com/t/auto-instrumentation-of-oneagent-and-active-gate-metrics/19643/7 "2019-02-19T10:23:08Z")

</div>

Thank you Julius
