<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: display the current port that OneAgent using  from the Dynatrace tenant? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266584#M35241</link>
    <description>&lt;P&gt;You can use the DQL query I have provided to list the ports used by the OneAgent Watchdog.&lt;/P&gt;&lt;P&gt;Please note that with OneAgent version 1.301 the OneAgent doesn't use the TCP ports for its own inter-process communication.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-a-new-port-range" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-a-new-port-range&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 23:44:37 GMT</pubDate>
    <dc:creator>sia_h</dc:creator>
    <dc:date>2025-01-02T23:44:37Z</dc:date>
    <item>
      <title>Display the current port that OneAgent uses from the Dynatrace tenant</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266401#M35221</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;Is there a way to display the port that OneAgent using from the Dynatrace tenant?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 12:20:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266401#M35221</guid>
      <dc:creator>joanne_quan</dc:creator>
      <dc:date>2025-01-02T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266402#M35222</link>
      <description>&lt;P&gt;Dynatrace OneAgent Uses 9999 From the OneAgent on the host to the ActiveGate. The ActiveGate uses 443 to connect to the Dynatrace Tenant. If you forgo the ActiveGate, your OneAgent will communicate over 443 to the Tenant directly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/sgw-availability" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/sgw-availability&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 19:27:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266402#M35222</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-12-31T19:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266451#M35232</link>
      <description>&lt;P&gt;At the moment there is no way to do so. Curious to know the reason you need to know the port agent is running on. Could you share please.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:31:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266451#M35232</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-01-02T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266498#M35234</link>
      <description>&lt;P&gt;Besides what Chad mentioned, you can list the listenPorts of the OneAgent processes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.process_group_instance
| fields entity.name, listenPorts, softwareTechnologies
| filter matchesPhrase(softwareTechnologies, "type:DYNATRACE")
| filter isNotNull(listenPorts)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 12:13:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266498#M35234</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2025-01-02T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266507#M35235</link>
      <description>&lt;P&gt;hello RohitBisht,&lt;/P&gt;&lt;P&gt;Thanks for your reply,&amp;nbsp; in our case, sometimes the application/database is using the port range &amp;gt; 51000 and&amp;nbsp; &lt;SPAN&gt;OneAgent watchdog attempts to open the first available port between port 50000 and 50100.&amp;nbsp; In this case we need to change the config file&amp;nbsp;&lt;/SPAN&gt;using the following command&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;./oneagentctl --set-watchdog-portrange=50000:50100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;however, the port failed to connected nightly on the server due to conflict.&amp;nbsp; So i just want to know if there is a way we can see the port that OneAgent is using without looking at the config file setup on the server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Joanne&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 14:23:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266507#M35235</guid>
      <dc:creator>joanne_quan</dc:creator>
      <dc:date>2025-01-02T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266508#M35236</link>
      <description>&lt;P&gt;Thanks for your information&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 14:25:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266508#M35236</guid>
      <dc:creator>joanne_quan</dc:creator>
      <dc:date>2025-01-02T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266513#M35237</link>
      <description>&lt;P&gt;thanks for your help,&amp;nbsp; i will try this command&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 14:46:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266513#M35237</guid>
      <dc:creator>joanne_quan</dc:creator>
      <dc:date>2025-01-02T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: display the current port that OneAgent using  from the Dynatrace tenant?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266584#M35241</link>
      <description>&lt;P&gt;You can use the DQL query I have provided to list the ports used by the OneAgent Watchdog.&lt;/P&gt;&lt;P&gt;Please note that with OneAgent version 1.301 the OneAgent doesn't use the TCP ports for its own inter-process communication.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-a-new-port-range" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-a-new-port-range&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 23:44:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266584#M35241</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2025-01-02T23:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Display the current port that OneAgent uses from the Dynatrace tenant</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266687#M35251</link>
      <description>&lt;P&gt;Currently it's not possible to get the current "remote" port of Dynatrace AG or Environment as&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45903"&gt;@RohitBisht&lt;/a&gt;&amp;nbsp;states. The best you can do is to query the &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-deployment-get-connectivity" target="_blank"&gt;Environment Deployment API -&amp;nbsp; connection info&lt;/A&gt;. This will provide you with all possible endpoints to which OneAgent can try to connect. Local port is always dynamic as with TCP connections. There is no way to supply local TCP port with OneAgent. Also if you have multiple deep monitored processes, each one may connect to different endpoints.&amp;nbsp; OneAgents reconnect regularly between endpoints to load balance for example. There are options to set the endpoint (--set-server or environment variables, depending on OneAgent type), but I'd not recommend touching it unless inevitable.&lt;BR /&gt;&lt;BR /&gt;The watchdog ports are something different and yes those are local ports for watchdog, you can set them, but those are not used for communication towards the cluster.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 10:15:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Display-the-current-port-that-OneAgent-uses-from-the-Dynatrace/m-p/266687#M35251</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-01-06T10:15:25Z</dc:date>
    </item>
  </channel>
</rss>

