<?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 Alerting for TCP connections in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286622#M5924</link>
    <description>&lt;P&gt;I got the max threshold for TCP connections in definite number for example 18232 and the client wants to get alert if it's reached 80% of this value. I don't see any option to do this under anomaly detection of the particular host.&amp;nbsp; Any idea?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 11:03:14 GMT</pubDate>
    <dc:creator>chitradevi</dc:creator>
    <dc:date>2025-12-18T11:03:14Z</dc:date>
    <item>
      <title>Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286622#M5924</link>
      <description>&lt;P&gt;I got the max threshold for TCP connections in definite number for example 18232 and the client wants to get alert if it's reached 80% of this value. I don't see any option to do this under anomaly detection of the particular host.&amp;nbsp; Any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 11:03:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286622#M5924</guid>
      <dc:creator>chitradevi</dc:creator>
      <dc:date>2025-12-18T11:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286635#M5925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can check "&lt;SPAN&gt;builtin:tech&lt;/SPAN&gt;&lt;SPAN&gt;.generic&lt;/SPAN&gt;&lt;SPAN&gt;.network&lt;/SPAN&gt;&lt;SPAN&gt;.sessions&lt;/SPAN&gt;&lt;SPAN&gt;.new" which tells you number of new incoming TCP sessions per second.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not, no out-the-box soluation. It was discussed &lt;A title="here" href="https://community.dynatrace.com/t5/Alerting/Metric-for-the-number-of-TCP-connections-per-process/m-p/205667" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 14:46:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286635#M5925</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-09-23T14:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286651#M5926</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;you can try with Custom metric events.&lt;/P&gt;&lt;P&gt;Go to Settings → Anomaly detection → Metric events.&lt;/P&gt;&lt;P&gt;Click Add metric event.&lt;/P&gt;&lt;P&gt;Select the metric you want to track (your TCP connection metric).&lt;/P&gt;&lt;P&gt;(Optional) Split by host if you only want this alert on a specific host.&lt;/P&gt;&lt;P&gt;Set a static threshold:&lt;/P&gt;&lt;P&gt;Max = 18232 → 80% = 14,626&lt;/P&gt;&lt;P&gt;Configure the rule to trigger when the metric is greater than 14626.&lt;/P&gt;&lt;P&gt;Save it and assign the event to the correct alerting profile.&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;P.S.&lt;/STRONG&gt; I don’t recall there being a metric to count tcp connection to host.&amp;nbsp;You’ll need to confirm the exact metric key for TCP connections in your environment. but I think&amp;nbsp;this what &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;suggested seems to be the closest to what you’re looking for.&lt;BR /&gt;Alternatively, you can always inject such a metric into Dynatrace yourself using &lt;STRONG&gt;metric ingestion&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 18:08:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286651#M5926</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-09-23T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286654#M5927</link>
      <description>&lt;P&gt;But in static threshold we can give only the percentage or per mille threshold not the definite number as a threshold.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 18:37:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286654#M5927</guid>
      <dc:creator>chitradevi</dc:creator>
      <dc:date>2025-09-23T18:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286656#M5928</link>
      <description>&lt;P&gt;If the metric reports an absolute value (e.g., number of sessions, TCP connections, bytes, milliseconds), then the threshold is set in the base unit of that metric, so you can enter a fixed number (like 14626).&lt;/P&gt;&lt;P&gt;If the metric is defined as relative (e.g., CPU usage in %), then the threshold options are limited to percentage or per-mille.&lt;BR /&gt;&lt;BR /&gt;For example, in this metric:&lt;BR /&gt;&lt;SPAN&gt;builtin:tech&lt;/SPAN&gt;&lt;SPAN&gt;.generic&lt;/SPAN&gt;&lt;SPAN&gt;.network&lt;/SPAN&gt;&lt;SPAN&gt;.sessions&lt;/SPAN&gt;&lt;SPAN&gt;.new you can set threshold in [count/s], in another like this:&amp;nbsp;builtin:apps.custom.reportedErrorCount u can set exacl number&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 18:45:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286656#M5928</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-09-23T18:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for TCP connections</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286660#M5929</link>
      <description>&lt;P&gt;I've built a simple Dynatrace Extension for a client to measure number of connections to defined TCP ports, including connection status. It works on Linux only and uses the ss command to get the info. See&amp;nbsp;&lt;A href="https://github.com/juliusloman/dynatrace-extension-host-sockets" target="_blank"&gt;https://github.com/juliusloman/dynatrace-extension-host-sockets&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;It provides a metric&amp;nbsp;host.net.sockets representing number of socket connections with the dimensions port, and socket status. You can then easily create a metric event to count the connections in TIME_WAIT or ESTABLISHED status for example.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 20:06:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-TCP-connections/m-p/286660#M5929</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-09-23T20:06:02Z</dc:date>
    </item>
  </channel>
</rss>

