# Host or Monitoring Unavailable

**URL:** <https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720>\
**Category:** Alerting\
**Tags:** hosts-classic, problems-classic\
**Created:** [December 12, 2019, 1:40am UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720 "2019-12-12T01:40:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarun\_kumar\_aga](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@tarun\_kumar\_aga](https://community.dynatrace.com/u/tarun_kumar_aga)\
**Post date:** [December 12, 2019, 1:40am UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720/1 "2019-12-12T01:40:17Z")

</div>

We are doing autoscaling and whenever we scale down instances we are receiving host or monitoring unavailable alert and we don’t that alert to be triggered in this scenario.Can you please help us how can we disable alert.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [December 12, 2019, 7:52am UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720/2 "2019-12-12T07:52:13Z")

</div>

Only way I have in mind is maintenance window. During scaling down, you can send request to DT to fire up maintenance window that will cover those hosts that will be disconnected. Than do scaling down, after few minutes disable maintenance window. This is really dirty workaround but I don’t have other idea for now.

Sebastian

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 12, 2019, 9:53am UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720/3 "2019-12-12T09:53:59Z")

</div>

How exactly are you “descaling” your environment? Probably the best approach would be to uninstall the agents before shutting down the instances. Then you would not get the problems about unavailable hosts.

---

<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:** [December 12, 2019, 1:50pm UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720/4 "2019-12-12T13:50:54Z")

</div>

@Tarun A. Without being fully aware of your process for autoscaling, I would propose a few ideas. If these devices are defined and chosen prior to the autoscaling action, setup an automatic tag to tag them and have a maintenance window that is set off of that defined tag. That would suppress these alarms.

OR

Within the Alert profile page, select the alert profile and exclude the hosts slated for autoscaling to be excluded from alerts.

OR

Globally, change your settings to not alert on graceful shutdowns and have your hosts shutdown gracefully. This will then not alert you when the host is shutdown. You can also go into the settings page and disable the one agent on the host prior to the auto scaling.

 ![22894-graceful-shutdown.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/37df61a105e110454ce6483b307cb6203bb353b4.png)

 ![22895-monitoring-overview.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5e16295af115375efd4c84498b004e5aa360a79c.png)

Thank you,

Chad

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [February 15, 2022, 8:09am UTC](https://community.dynatrace.com/t/host-or-monitoring-unavailable/22720/5 "2022-02-15T08:09:29Z")

</div>

There is now the option to post a ‘marked for termination’ event via the Events API.

> **[Info events](https://docs.dynatrace.com/docs/dynatrace-intelligence/root-cause-analysis/event-analysis-and-correlation/event-categories/info-events)**
>
> Learn more about informational events and the logic behind raising them.

> **[Events API v2 - POST an event](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/events-v2/post-event)**
>
> Ingests an event via the Dynatrace API.
