# Disk space alert

**URL:** <https://community.dynatrace.com/t/disk-space-alert/45439>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [May 5, 2024, 7:29am UTC](https://community.dynatrace.com/t/disk-space-alert/45439 "2024-05-05T07:29:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [May 9, 2024, 3:01am UTC](https://community.dynatrace.com/t/disk-space-alert/45439/7 "2024-05-09T03:01:17Z")

</div>

Hi&nbsp;[@sundarv1](https://community.dynatrace.com/user/74312)&nbsp;  
Complementing what PacoPorro mentioned, I think an alternative is this:  
Alerting based on % of Disk used by Host.

**1. Disk space between 85 to 90**

Metric Selector

```markup
builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),entityName.equals(~"HOST_NAME~")")))),series(avg,and(ge(85),le(90)))):splitBy("dt.entity.host"):parents

```

Config in Metric Event (Monitoring strategy)

 ![PierreGutierrez_0-1715223430634.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a75194f72b37538d3c1e79e60539885770f2cecc.png)

 ![PierreGutierrez_3-1715223750143.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/4/9447179ce76e02c78c790f600571697f1164ea2d.png)

Since the metric only brings values in that interval, the metric will warn exactly when there are values greater than 85.

**2.Disk space greater than 90**

```markup
builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),entityName.equals(~"HOST_NAME~")"))))):limit(20)

```

Config in Metric Event (Monitoring strategy)

 ![PierreGutierrez_1-1715223579659.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/10fa2da1065a8d5ae1dbae62ed77f8b7631306fe.png)

 ![PierreGutierrez_3-1715223750143.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/4/9447179ce76e02c78c790f600571697f1164ea2d.png)

I hope it’s helpful 💪

---

_[View the full topic](https://community.dynatrace.com/t/disk-space-alert/45439)._
