# Vcenter Monitoring - Defining which ActiveGate Is Used

**URL:** <https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473>\
**Category:** Open Q&A\
**Tags:** activegate, dynatrace-saas, vmware\
**Created:** [November 6, 2023, 4:00pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473 "2023-11-06T16:00:37Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 6, 2023, 4:00pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/1 "2023-11-06T16:00:37Z")

</div>

Hi There

How can you see what ActiveGate is being used to monitor VCenter metrics? We are an MSP and could possibly have 100s of VCenters being monitored. We want to be able to define which activegate is listening for a specific vCenter. Is this possible?

---

<div class="post-metadata">

**Author:** ![natanael\_mendes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/natanael_mendes/32/15264_2.png) [@natanael\_mendes](https://community.dynatrace.com/u/natanael_mendes)\
**Post date:** [November 6, 2023, 5:50pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/2 "2023-11-06T17:50:29Z")

</div>

So your flag is going to be enabled like in the image bellow (the last)

 ![natanael_mendes_0-1699293002836.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c30de19e24a9f209eb4c5f557aba5a619a2b50a5.png)

in parallel take a look on the documentation page

## Install and configure ActiveGate

[Install an Environment ActiveGate](https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-activegate/installation)&nbsp;in your data center before connecting Dynatrace to your VMware platform.  
For&nbsp; **Dynatrace Managed** &nbsp;you can use the embedded ActiveGate running on the cluster node. However, the Cluster ActiveGate is typically used to forward RUM and/or Synthetic monitoring data to the Dynatrace Cluster. We recommend that you don’t overutilize this ActiveGate with another type of monitoring data. Depending on the VMware size, you might consider using a dedicated ActiveGate per environment.

For virtualization monitoring, the&nbsp;vmware\_monitoring\_enabled&nbsp;property in&nbsp;custom.properties&nbsp;must be set to&nbsp;true&nbsp;(default value).

See&nbsp;[Customize ActiveGate properties](https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-activegate/configuration/configure-activegate#vmware)&nbsp;for details.

---

<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:** [November 6, 2023, 5:54pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/3 "2023-11-06T17:54:40Z")

</div>

Hi,

You can use [Network Zones](https://docs.dynatrace.com/docs/manage/network-zones) for this to assign the appropriate AGs to specific VMWare instances.

Radek

---

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 7, 2023, 2:16pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/4 "2023-11-07T14:16:24Z")

</div>

Thanks, but how do you set which network zone to use? I&nbsp;cannot see anywhere to define it.

 ![DT VMware.PNG](https://global.discourse-cdn.com/dynatrace/original/3X/b/1/b1a9c94b2c43b7b28010f8490d7a9dd1e4b27bcf.png)

---

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 7, 2023, 2:17pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/5 "2023-11-07T14:17:36Z")

</div>

Thanks, but if I have multiple AG’s in a domain and I want to use one of them to monitor a vCenter, how do I choose which one?

---

<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:** [November 7, 2023, 3:19pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/6 "2023-11-07T15:19:06Z")

</div>

Hi,

From the Deployment Status \>\> ActiveGates tab, you can manage Netowork Zones for AG.

 ![IMG_0572.jpeg](https://global.discourse-cdn.com/dynatrace/original/2X/1/13382e9b2d1f2cb07962d61ca078524d7e261d85.jpeg)

---

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 7, 2023, 3:24pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/7 "2023-11-07T15:24:51Z")

</div>

Sorry, for the newbie questions. But how is the VCenter assigned to the Network Zone?

---

<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:** [November 7, 2023, 3:26pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/8 "2023-11-07T15:26:40Z")

</div>

No problem 😉

You are not assigning a specific vCenter just the AG that supports it. To split the environment you will need more AG instances.

---

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 7, 2023, 3:28pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/9 "2023-11-07T15:28:36Z")

</div>

So is it 1 vcenter per AG? I have a test environment with 2 AG’s but I can only configure 1 vcenter.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [November 7, 2023, 5:37pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/10 "2023-11-07T17:37:07Z")

</div>

Hi [@stuart\_reid](https://community.dynatrace.com/user/68093), you do not assign a specific ActiveGate to a vSphere for monitoring, or vice versa. Any AG that is enabled for [VMware monitoring](https://docs.dynatrace.com/docs/shortlink/vmware-monitor-hub), can be used or will be used…so if you have e.g., 4 AGs, all VMware integration enabled, any of those four will do the work.

As far as I know, [network zones](https://docs.dynatrace.com/docs/shortlink/network-zones) are only used to route OneAgent traffic efficiently, which does not help in your scenario.

---

<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:** [November 7, 2023, 7:40pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/11 "2023-11-07T19:40:01Z")

</div>

[@andre\_vdveen](https://community.dynatrace.com/user/11931)&nbsp; you are right - I was wrong to use Network Zone with AG. I agree with what you wrote.

---

<div class="post-metadata">

**Author:** ![stuart\_reid](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stuart\_reid](https://community.dynatrace.com/u/stuart_reid)\
**Post date:** [November 8, 2023, 11:29am UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/12 "2023-11-08T11:29:54Z")

</div>

Thanks [@andre\_vdveen](https://community.dynatrace.com/user/11931)&nbsp;If I am working as a MSP where we have contracts sharing an activegate, is there any way of defining which one is used?

---

<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:** [November 8, 2023, 2:16pm UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/13 "2023-11-08T14:16:33Z")

</div>

There is no such possibility.  
As a workaround, you can use closing traffic on the firewall from specific AG instances to VSphere.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [November 9, 2023, 8:08am UTC](https://community.dynatrace.com/t/vcenter-monitoring-defining-which-activegate-is-used/42473/14 "2023-11-09T08:08:38Z")

</div>

Pleasure,&nbsp;[@stuart\_reid](https://community.dynatrace.com/user/68093) -&nbsp;sorry that it’s not the answers you were hoping for! 😐

I’m not sure what the setup looks like as an MSP, but I would most likely not share ActiveGates between clients/contracts unless they all connect into the same SaaS tenant/Managed environment of course, in which case&nbsp;[@radek\_jasinski](https://community.dynatrace.com/user/16832)’s suggestion is your best bet. In fact, that would be the only way to prevent a certain vSphere/ESXi host from getting to an ActiveGate…there is, unfortunately, no other means at this stage.
