# OneAgent on ActiveGate itself

**URL:** <https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050>\
**Category:** Open Q&A\
**Tags:** activegate, oneagent\
**Created:** [July 29, 2022, 6:33pm UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050 "2022-07-29T18:33:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![karanbirsingh](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@karanbirsingh](https://community.dynatrace.com/u/karanbirsingh)\
**Post date:** [July 29, 2022, 6:33pm UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/1 "2022-07-29T18:33:20Z")

</div>

Hey Folks,

I have installed activegate on-prem and wondering if there is a way to install OneAgent on same VM itself where ActiveGate is running to monitor the processes and internal state of AG VM closely?

Has anyone tried this? Did it work out or there are possibly downsides to it/bad practice?  
Either way if someone can shed some light 🙂

Thanks,

Karanbir

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 29, 2022, 6:58pm UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/2 "2022-07-29T18:58:15Z")

</div>

[@karanbirsingh](https://community.dynatrace.com/user/53643)

Yes, I have cases where that monitoring exists. But ActiveGates also have some self-monitoring capabilities, and you can even have metrics in dashboards, for instance (check out the dsfm: metrics)

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [July 29, 2022, 7:24pm UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/3 "2022-07-29T19:24:34Z")

</div>

Doing the self monitoring using the OA here in our AGs too. Using infra-only for the Routing and Synthetic , but full-stack is required for zRemote (we need to watch for our HostUnits, right?)

No issues nor downsides so far.

---

<div class="post-metadata">

**Author:** ![karanbirsingh](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@karanbirsingh](https://community.dynatrace.com/u/karanbirsingh)\
**Post date:** [July 30, 2022, 4:24am UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/4 "2022-07-30T04:24:48Z")

</div>

Thanks&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;and&nbsp;[@dannemca](https://community.dynatrace.com/user/18264)&nbsp;for super swift response.&nbsp;  
I will take a look at “dsfm: metrics” and zRemote for self monitoring.

---

<div class="post-metadata">

**Author:** ![ca6iya](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ca6iya](https://community.dynatrace.com/u/ca6iya)\
**Post date:** [September 20, 2022, 12:47am UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/5 "2022-09-20T00:47:21Z")

</div>

Thanks for the info that zremote needs fullstack

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [September 21, 2022, 3:03am UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/6 "2022-09-21T03:03:34Z")

</div>

Hi,

We do a combination of Agent in ‘infrastructure only’ mode, so we can monitor the host and processes, and then for Internals we use the following dashboard.&nbsp; There is no need to run the agent in full stack on the Active Gates as internal monitoring provides significantly more information (and whats important) than the agent does.

You probably don’t need to use the agent if licensing is a concern, but it has saved us a couple of times where other issues on the server like patching / scanning has occurred that resulted in contributing issues that otherwise would not have been picked up.  
[Active Gate Health Dashboard.zip](https://community.dynatrace.com/uploads/short-url/qYMIoW2uF5NnKhdpgpvMlqkwIEe.zip) (3.04 KB)

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [September 21, 2022, 4:00am UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/7 "2022-09-21T04:00:53Z")

</div>

As others have mentioned, there are self-monitoring metrics available. See more at: [Self-monitoring classic metrics — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/self-monitoring-metrics#activegate-insights)

These do not require OneAgent to be deployed. If you do go with OneAgent, as already pointed out you would want only Infrastructure mode.

**Advantages:**

- Can monitor host level availability, so when ActiveGate process is offline (dsfm metrics unavailable), the host is still monitored (fault-domain isolation)

**Disadvantages:**

- Infrastructure mode still enables network monitoring, which can still detect process connections
  - As a result, if you use the same Dynatrace environment for the OneAgent on your ActiveGate as everything else, you will ‘pollute’ your Smartscape as _most_ hosts will connect with your ActiveGate host.

- For above reason, you may require a separate Dynatrace environment dedicated to self-monitoring of the ActiveGates
- OneAgents consume host-unit licensing. ActiveGates themselves do not consume a license in this way.

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [September 26, 2022, 11:55pm UTC](https://community.dynatrace.com/t/oneagent-on-activegate-itself/36050/8 "2022-09-26T23:55:47Z")

</div>

ActiveGates and dsfm: metrics also do not consume licensing (eg. DDU)

OneAgent does consume host units.
