# Can we create an alert for host  TCP connectivity reaching 0 ? if yes, please explain.. I have tried to do it by custom alerts too but no luck.

**URL:** <https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [December 5, 2018, 5:19am UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709 "2018-12-05T05:19:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![raviteja\_edulab](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@raviteja\_edulab](https://community.dynatrace.com/u/raviteja_edulab)\
**Post date:** [December 5, 2018, 5:19am UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/1 "2018-12-05T05:19:33Z")

</div>

Can we create an alert for host TCP connectivity reaching 0 ? if yes, please explain.. I have tried to do it by custom alerts too but no luck.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [December 5, 2018, 6:42am UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/2 "2018-12-05T06:42:01Z")

</div>

Hello [@Raviteja E.](https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/213510/can-we-create-an-alert-for-host-tcp-connectivity-r.html#)

You are looking for which product?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![raviteja\_edulab](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@raviteja\_edulab](https://community.dynatrace.com/u/raviteja_edulab)\
**Post date:** [December 5, 2018, 1:24pm UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/3 "2018-12-05T13:24:35Z")

</div>

Hi [@Babar Q.](https://answers.dynatrace.com/users/5357/view.html)

I am looking for Dynatrace Managed.

Thanks,

Raviteja

---

<div class="post-metadata">

**Author:** ![pawel\_brzoska](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_brzoska/32/18892_2.png) [@pawel\_brzoska](https://community.dynatrace.com/u/pawel_brzoska)\
**Post date:** [December 5, 2018, 7:22pm UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/4 "2018-12-05T19:22:52Z")

</div>

You can only change the default threshold for existing our of the box connectivity alert on process level to 0. Check anomaly detection settings, infrastructure.

---

<div class="post-metadata">

**Author:** ![rchavan1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rchavan1/32/31170_2.png) [@rchavan1](https://community.dynatrace.com/u/rchavan1)\
**Post date:** [March 8, 2019, 2:13pm UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/5 "2019-03-08T14:13:10Z")

</div>

We are getting the same problem for the connectivity reaching to 0 for IIS- after analyzing we were seen that TCP connection refused some value 1.3 per sec and Time out is - zero and there is no impact on the application as such .. once we sent this to our Wintel and Network team they are asking us what to do with this? what action to be taken? we are clue less as of now.. request som to help address this!

---

<div class="post-metadata">

**Author:** ![ctturner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ctturner/32/11883_2.png) [@ctturner](https://community.dynatrace.com/u/ctturner)\
**Post date:** [March 8, 2019, 7:25pm UTC](https://community.dynatrace.com/t/can-we-create-an-alert-for-host-tcp-connectivity-reaching-0-if-yes-please-explain-i-have-tried-to-do-it-by-custom-alerts-too-but-no-luck/18709/6 "2019-03-08T19:25:34Z")

</div>

If I understand your questions correctly, this can be done quite simply. You can do this by setting the anomaly detection both at the host level and globally. To do this navigate to a host and click Edit. Then go to Anomaly Detection. Network, Detect TCP Connectivity and set it to custom and configure the settings accordingly.
