# List of Hosts connected to an ActiveGate

**URL:** <https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856>\
**Category:** Dynatrace Tips\
**Tags:** activegate, tips-and-tricks\
**Created:** [January 24, 2022, 3:28pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856 "2022-01-24T15:28:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![PedroDeodato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrodeodato/32/32284_2.png) [@PedroDeodato](https://community.dynatrace.com/u/PedroDeodato)\
**Post date:** [January 24, 2022, 3:28pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/1 "2022-01-24T15:28:51Z")

</div>

Haven’t found this one on the Documentation yet, so thought it would be nice to post it here.

It is now possible to know which ActiveGate is an host using to send information to Dynatrace.

The other way round is also possible: is possible to get the list of hosts connected to a specific ActiveGate.

When you head over to **Deployment Status** , first you’ll see the ActiveGate used on each host:

 ![PedroDeodato_0-1643037248304.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/ee2449026c4abf003e3c61fc8728cc6db719afc5.png)

As you can see, when the host communicates directly with the tenant (no ActiveGate involved), the list shows “none (direct communicaton)”.

When an host is communicating with an ActiveGate, not only does it show the ActiveGate’s name on this view, but that name is clickable as well.

When clicked, the UI is redirected to the ActiveGate list, filtered by that ActiveGate’s ID:

 ![PedroDeodato_1-1643037434523.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6c9cb6d7e7b0502955c94a933c688fd2031c4ab2.png)

Either by continuing from there or&nbsp; access the ActiveGates list initially, there is also the way to know the list of hosts connected to each ActiveGate.

Just expand the info on a listed ActiveGate and see “Number of currently connected hosts”:

 ![PedroDeodato_2-1643037653369.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/7/a76aca8a17a088ddefd9e44fb56313b16af16e7b.png)

As you can see, the number is also a clickable link.

When clicked, it redirects you to the host list, filtered by the selected ActiveGate:

 ![PedroDeodato_3-1643037788467.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/16720f4773ad2beeb9ca7a048a31bf269bd9e9e0.png)

Obviously, you do not need to rely on all these interactions to get there.

You can just access the Filters field on the OneAgents list, select “ActiveGate used by host” and manually select the ActiveGate to filter the complete host list:

 ![PedroDeodato_4-1643037918285.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/c/0c84a11fc80db1bd21b0d78c1ce34d9e8688a85c.png)

So many ways to put this new info to good use!

---

<div class="post-metadata">

**Author:** ![D\_Miller](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/d_miller/32/22229_2.png) [@D\_Miller](https://community.dynatrace.com/u/D_Miller)\
**Post date:** [January 24, 2022, 4:02pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/2 "2022-01-24T16:02:08Z")

</div>

Is this connection count metric in the Data Explorer? Just having a quick look and it doesn’t appear to be.

Getting counts like this on a Dashboard would be very useful

---

<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:** [January 24, 2022, 4:10pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/3 "2022-01-24T16:10:33Z")

</div>

Great tip.

Also, for those interested into only the current number of connections, you can use the API:

> **[ActiveGate API - GET all ActiveGates](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/activegates/activegate-info/get-all)**
>
> List all ActiveGates currently or recently connected to the environment.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [April 13, 2022, 10:00am UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/4 "2022-04-13T10:00:40Z")

</div>

Thanks&nbsp;[@PedroDeodato](https://community.dynatrace.com/user/40725)

What mean if no ActiveGate is used?

Is it a problem, or investigation need to be done?

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [April 13, 2022, 11:12am UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/5 "2022-04-13T11:12:15Z")

</div>

Thanks&nbsp;[@PedroDeodato](https://community.dynatrace.com/user/40725)

I believe this will be useful while troubleshooting a connectivity issue, also to track the balancing status.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [April 13, 2022, 4:21pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/6 "2022-04-13T16:21:16Z")

</div>

Great Tip, [@PedroDeodato](https://community.dynatrace.com/user/40725) also I leave here the link to how to use [Networks Zones](https://www.dynatrace.com/support/help/shortlink/network-zones-oneagent-connectivity) to configure which OA should use which ActiveGate.

---

<div class="post-metadata">

**Author:** ![rbeguin](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rbeguin](https://community.dynatrace.com/u/rbeguin)\
**Post date:** [April 28, 2022, 4:49pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/7 "2022-04-28T16:49:08Z")

</div>

Hello, is it possible to get the host list by activegate via API ?  
Because it’s not easy to have list with IHM like described when you have lot of host.  
Thanks.

---

<div class="post-metadata">

**Author:** ![theharithsa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theharithsa/32/16236_2.png) [@theharithsa](https://community.dynatrace.com/u/theharithsa)\
**Post date:** [May 3, 2022, 1:18am UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/8 "2022-05-03T01:18:12Z")

</div>

HI&nbsp;[@Malaik](https://community.dynatrace.com/user/23195)&nbsp;  
That means there is a direct communication between OneAgent and Dynatrace. If it is not communicating to ActiveGate even when it is installed, then taking OneAgent service restart will fix the communication.

---

<div class="post-metadata">

**Author:** ![theharithsa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theharithsa/32/16236_2.png) [@theharithsa](https://community.dynatrace.com/u/theharithsa)\
**Post date:** [May 3, 2022, 1:21am UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/9 "2022-05-03T01:21:02Z")

</div>

Hi&nbsp;[@PedroDeodato](https://community.dynatrace.com/user/40725)

This is great spot from you. It is a nice feature to use. Instead of going to network Zones and check the communication, we can now directly check from Deployment page.

---

<div class="post-metadata">

**Author:** ![Peet](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@Peet](https://community.dynatrace.com/u/Peet)\
**Post date:** [March 29, 2023, 2:58pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/10 "2023-03-29T14:58:47Z")

</div>

I have same question about identifying all hosts connected to an active gate. My use case is to test the impact to monitoring if a particular activegate fails. Also to identify traffic pattern of global hosts connecting to regional activegates.

---

<div class="post-metadata">

**Author:** ![ct\_27](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ct_27/32/10499_2.png) [@ct\_27](https://community.dynatrace.com/u/ct_27)\
**Post date:** [March 30, 2023, 3:21am UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/11 "2023-03-30T03:21:13Z")

</div>

[@D\_Miller](https://community.dynatrace.com/user/27192)&nbsp;, love it, that’s precisely where my mind went right away.&nbsp; Building an Admin level dashboard of ActiveGate health. Metric data like this would be perfect.

I don’t see the metrics either. Lots of other&nbsp;dsfm:active\_gate metrics but i believe these are more Extension 2.0 monitoring..&nbsp; Yeah, not seeing this metric.

---

<div class="post-metadata">

**Author:** ![Emy25251](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@Emy25251](https://community.dynatrace.com/u/Emy25251)\
**Post date:** [October 9, 2024, 4:00pm UTC](https://community.dynatrace.com/t/list-of-hosts-connected-to-an-activegate/33856/12 "2024-10-09T16:00:14Z")

</div>

Hi …My host shows: ActiveGates currently used none (direct communication), how do I restart the agent? I installed an agent and port 9999 was not active. Is that why? Only by restarting would it be possible to connect? I would greatly appreciate your collaboration.

Best regards
