# Exporting host names with insufficient Disk Space to upgrade

**URL:** <https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207>\
**Category:** Open Q&A\
**Tags:** installation, dynatrace-saas, oneagent\
**Created:** [February 20, 2024, 4:21pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207 "2024-02-20T16:21:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmevanson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mmevanson/32/22764_2.png) [@mmevanson](https://community.dynatrace.com/u/mmevanson)\
**Post date:** [February 20, 2024, 4:21pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/1 "2024-02-20T16:21:44Z")

</div>

Greetings!  
I am looking to provide our server team a list of servers that are failing to upgrade the OneAgent due to insufficient disk space.&nbsp; Is there a way to extract that information?&nbsp; &nbsp;I can filter it in the System notifications but there is no export feature.

Thanks

---

<div class="post-metadata">

**Author:** ![bsnurka](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/bsnurka/32/26730_2.png) [@bsnurka](https://community.dynatrace.com/u/bsnurka)\
**Post date:** [February 20, 2024, 4:42pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/2 "2024-02-20T16:42:07Z")

</div>

Hey&nbsp;[@mmevanson](https://community.dynatrace.com/user/70498)&nbsp;do you have an example notification you could share?  
Based off the properties & tags applied to the underlying DT Object generating the alert (Host likely), we can craft a DQL query which will return a list of hostnames failing to upgrade OA due to insufficient disk space.

---

<div class="post-metadata">

**Author:** ![mmevanson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mmevanson/32/22764_2.png) [@mmevanson](https://community.dynatrace.com/u/mmevanson)\
**Post date:** [February 20, 2024, 4:50pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/3 "2024-02-20T16:50:44Z")

</div>

Thanks, however we do not have Grail due to our tenants being in GCP.&nbsp;&nbsp;  
I have attached a screen shot of the information I can pull up that lists hosts and insufficient disk space to perform an upgrade.&nbsp;  
Thanks

 ![2024-02-20 10_44_59-Cardinal Health_ Production - Dynatrace and 10 more pages - Work - Microsoft​ Ed.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/0/20bca8305d50047f61145e1ffc1412c6f86570d2.png)

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [February 20, 2024, 5:27pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/4 "2024-02-20T17:27:40Z")

</div>

Hi,

I think you do not have an API with that information. A possible workarround might be prepare a query in Data Explorer showing hosts were target download disk is lower than X.

Best regards

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [February 20, 2024, 5:33pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/5 "2024-02-20T17:33:25Z")

</div>

Hi&nbsp;[@mmevanson](https://community.dynatrace.com/user/70498),

Have you tried this early adopter API? Maybe it will be useful for you.

[Dynatrace API changelog version 1.279 - Dynatrace Docs](https://docs.dynatrace.com/docs/whats-new/release-notes/dynatrace-api/sprint-279)

 ![Mizs_0-1708450285413.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1aee1e702954af3617dbc1e550b66a32495c241b.png)

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [February 20, 2024, 6:28pm UTC](https://community.dynatrace.com/t/exporting-host-names-with-insufficient-disk-space-to-upgrade/44207/6 "2024-02-20T18:28:22Z")

</div>

as mentioned you could create a data explorer table result which provides all your hosts and sort them, even export them to excel where you can then use advanced data sets to isolate hosts with a lack of disk space.

At a large insurance company we had a particular team that was responsible for all the resources of the hosts. We, the Dynatrace Team formulated a Custom Event for alerting (Metric Event) to alert if and when a host has less than x% of disk space on the target drive. These problems were then raised and routed to the Resource Team that raised the allocations. This allowed us to streamline the process to alert the actionable team when resources needed to be raised and included static verbiage related to the Dynatrace upgrade coming in the next week.

You can make some pretty cool solution in Dynatrace, sometimes you just need to sit back and look at the problem from out side the box.

We typically activated this custom event 2 weeks prior to our upgrade and turned it off shortly there after
