# Why no port information is needed to monitor SQL?

**URL:** <https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273>\
**Category:** Extensions\
**Tags:** databases, activegate, extensions\
**Created:** [January 21, 2021, 11:40am UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273 "2021-01-21T11:40:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [January 21, 2021, 11:40am UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273/1 "2021-01-21T11:40:58Z")

</div>

In ‘Settings-\>Monitoring-\>Monitored technologies’ there, under the supported-technologies I can see the list of database technology.

By expanding each of them, I can see that all database technology needs the port number information, except MSSQL. May I know what is the reason for MSSQL?

 ![27950-why.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/4/9/4957ead892dd862a7f6f9865b825ebacabfd9e73.jpeg)

Since I see that its type is “OneAgent extension”, that means I would need a OneAgent in the MSSQL Database Servers right?

Also, let’s said if there is no OneAgent in the MSSQL Database Server, can we use ActiveGate extension to monitor? (and if so, do we need to have firewall-rules allow between the MSSQL Database Server and ActiveGate)

Best Regards,

Wai Keat

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [January 21, 2021, 11:48am UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273/2 "2021-01-21T11:48:04Z")

</div>

Yes, you need an OneAgent (Infrastructure only Mode is fine) for the MSSQL Plugin. It uses Performance Counters to read the Metrics [(documentation)](https://www.dynatrace.com/support/help/shortlink/plugins-mssql#troubleshooting), that is why you don’t need a port here.

See Mikes answer for a AG plugin solution.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 21, 2021, 12:02pm UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273/3 "2021-01-21T12:02:16Z")

</div>

See Patrick’s answer on why you don’t need a port. As for the ActiveGate extension question: There is a preview program for additional database visibility going on right now and it includes additional MSSQL monitoring from an ActiveGate. I will send you a separate email and bring you in contact with the PM if you’re interested.

Mike

---

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [January 21, 2021, 11:34pm UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273/4 "2021-01-21T23:34:36Z")

</div>

Thanks Mike, I got one question before decide I am interested or not for this preview program to be test-out in a potential POC later:

So I assume it would provide visibility similar to some other DB-ActiveGate-Plugin (for example, Oracle-DB-Insight ActiveGate extension) like breakdown of top-time-consuming statement, execution plan and so on?

Best Regards,

Wai Keat

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 22, 2021, 8:01am UTC](https://community.dynatrace.com/t/why-no-port-information-is-needed-to-monitor-sql/21273/5 "2021-01-22T08:01:40Z")

</div>

Hi, it does not provide per query information and execution plans yet. It’s mainly a lot of additional health metrics for SQL server internals.

Mike
