# Monitor state of range of ports as "on"

**URL:** <https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, data-explorer, reports, notebooks, dashboards-classic\
**Created:** [June 6, 2024, 5:34pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959 "2024-06-06T17:34:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [June 6, 2024, 5:34pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959/1 "2024-06-06T17:34:35Z")

</div>

Hi all,

we have a list of host that receives TCP comunication through xxxx to xxxx range port. we need to validate that those ports are always on.

how can we monitor those ports from those hosts and put that on a dashboard tile?

thanks in advance

---

<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:** [June 6, 2024, 6:52pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959/2 "2024-06-06T18:52:03Z")

</div>

Hi,

If you have OneAgent installed in target host, you can use [metric scripting integration](https://docs.dynatrace.com/docs/shortlink/pipe-metric-ingestion).

You can those metrics ingested in data explorer, and to pin them a dashboard.

Best regards

---

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [June 6, 2024, 8:37pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959/3 "2024-06-06T20:37:43Z")

</div>

i can see the ports in the metadata of the process groups, can i work in some way with that info or i need to ingest it first ?

---

<div class="post-metadata">

**Author:** ![Gosia\_Murawska](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@Gosia\_Murawska](https://community.dynatrace.com/u/Gosia_Murawska)\
**Post date:** [August 13, 2024, 1:29pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959/4 "2024-08-13T13:29:43Z")

</div>

Hi&nbsp;[@MariettaAlmeida](https://community.dynatrace.com/user/59040)&nbsp;  
Have you managed to solve the problem? It would be great if you shared the solution with the Community users 🙂

---

<div class="post-metadata">

**Author:** ![mizso74](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [August 13, 2024, 1:36pm UTC](https://community.dynatrace.com/t/monitor-state-of-range-of-ports-as-on/45959/5 "2024-08-13T13:36:30Z")

</div>

Hi&nbsp;[@MariettaAlmeida](https://community.dynatrace.com/user/59040),

You can use TCP monitorings with this new feature NAM monitoring (via API settings) from 1.296 Saas or managed server:

[Dynatrace SaaS release notes version 1.296 - Dynatrace Docs](https://docs.dynatrace.com/docs/whats-new/release-notes/saas/sprint-296#improved-maintenance-window-page-time-zone-selection)

[Network availability monitoring - Dynatrace Docs](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/network-availability-monitors/network-availability-monitoring)

[Create a NAM monitor - Dynatrace Docs](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/network-availability-monitors/create-a-nam-monitor)

I hope it helps.

Best regards,

Mizső
