# self monitoring managed - active gate agent connected

**URL:** <https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [November 21, 2024, 2:54pm UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011 "2024-11-21T14:54:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roeir5](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Roeir5](https://community.dynatrace.com/u/Roeir5)\
**Post date:** [November 21, 2024, 2:54pm UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011/1 "2024-11-21T14:54:01Z")

</div>

Hy

how I can create dashboard (metric formula) to show how many oneagent(os) connected to each ActiveGate in cluster?

i have 2 servers in network zone and i want to understand if load balance work well

thanks

ps: amount per tenant exist in dashboard - its ok

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [November 21, 2024, 5:18pm UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011/2 "2024-11-21T17:18:40Z")

</div>

Hi,

You can use metric&nbsp;[dsfm:active\_gate.communication.agent\_modules.connected](https://docs.dynatrace.com/docs/shortlink/activegate-self-monitoring-metrics#communication)

Best regards

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 22, 2024, 3:01pm UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011/3 "2024-11-22T15:01:06Z")

</div>

Hello&nbsp;[@Roeir5](https://community.dynatrace.com/user/81319)

In addition to the direct answer provided by&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)

PFA for detailed info:

- [Local self-monitoring — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/managed-cluster/self-monitoring/local-self-monitoring)
- [Self-monitoring classic metrics — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/metrics-classic/self-monitoring-metrics)
- [ActiveGate self-monitoring metrics — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/activegate-sfm-metrics)
- [https://www.dynatrace.com/hub/detail/dynatrace-self-monitoring-managed/](https://www.dynatrace.com/hub/detail/dynatrace-self-monitoring-managed/)
- [Proactive self-monitoring ensures seamless operations for Dynatrace Managed at scale](https://www.dynatrace.com/news/blog/proactive-self-monitoring-ensures-seamless-operations-for-dynatrace-managed-at-scale/)
- [https://www.youtube.com/watch?v=O9BCMn3gtkw](https://www.youtube.com/watch?v=O9BCMn3gtkw)

Hoping it adds value.

KR,

Peter.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [November 23, 2024, 8:37am UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011/4 "2024-11-23T08:37:49Z")

</div>

Hi&nbsp;[@Peter\_Youssef](https://community.dynatrace.com/user/51369)&nbsp;&&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)

As far as I understand,&nbsp;[@Roeir5](https://community.dynatrace.com/user/81319)&nbsp;is looking for a way to check&nbsp;currently how many hosts are connected to each AG as can be seen from _ **deployment status --\> AG** _

 ![Yosi_Neuman_0-1732350841653.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/8/280eb53fa1abbc6bbe087078fca22a14c5225da4.png)

IMO there is no metric that can be utilize for that 🤔, but will be happy to learn that I’m wrong&nbsp;:nerd\_face:

Yos

---

<div class="post-metadata">

**Author:** ![Roeir5](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Roeir5](https://community.dynatrace.com/u/Roeir5)\
**Post date:** [November 24, 2024, 9:06am UTC](https://community.dynatrace.com/t/self-monitoring-managed-active-gate-agent-connected/49011/5 "2024-11-24T09:06:59Z")

</div>

I tried to use this query to find the value as&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;describe in&nbsp;_ **deployment status --\> AG** _ ,but value is not&nbsp;compatible with data from metric

**dsfm:active\_gate.communication.agent\_modules.connected:splitBy(“host.name”):sort(value(auto,descending)):limit(20)**
