# how work custom disk-detection rules

**URL:** <https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304>\
**Category:** Alerting\
**Tags:** hosts-classic, problems-classic\
**Created:** [July 17, 2019, 8:06am UTC](https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304 "2019-07-17T08:06:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose-antonio\_ra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jose-antonio_ra/32/38171_2.png) [@jose-antonio\_ra](https://community.dynatrace.com/u/jose-antonio_ra)\
**Post date:** [July 17, 2019, 8:06am UTC](https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304/1 "2019-07-17T08:06:00Z")

</div>

HI all.

We have a question about the functioning in Anomaly detection.

In our client we have several custom rules created:

 ![21334-1563350072375.png](https://global.discourse-cdn.com/dynatrace/original/2X/3/3421df813e3f93f77d36f1a89cae6dc7a2086fc7.png)

Details custom rule 1:

 ![21335-1563350113291.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/96594fd7a81be7a640a172d63888c5eb115efd57.png)

Details custom rule 2:

 ![21336-1563350148717.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bc6f6915a0c4d6ea6fc4fcb59c6bf5b594179212.png)

Our question is whether these 2 rules are a set. That is, they are like an “OR” or as “AND” ??

thanks in advanced.

Jose A

---

<div class="post-metadata">

**Author:** ![Christopher\_Cha](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christopher_cha/32/26178_2.png) [@Christopher\_Cha](https://community.dynatrace.com/u/Christopher_Cha)\
**Post date:** [July 17, 2019, 5:23pm UTC](https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304/2 "2019-07-17T17:23:40Z")

</div>

It’s OR logic. To make it more specific, you can even use tags or host group.

---

<div class="post-metadata">

**Author:** ![jose-antonio\_ra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jose-antonio_ra/32/38171_2.png) [@jose-antonio\_ra](https://community.dynatrace.com/u/jose-antonio_ra)\
**Post date:** [July 18, 2019, 6:42am UTC](https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304/3 "2019-07-18T06:42:02Z")

</div>

Thanks Christopher.

One more doubt: to exclude a specific unit I have created a rule with a threshold of 0%

 ![21351-1563432037883.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/b/7b07d3a6560dd087812d9c0dd60af903d5158c83.png)

i think, with this setting the alarm will never start. Is it correct?

Thanks again.

Jose A

---

<div class="post-metadata">

**Author:** ![Christopher\_Cha](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christopher_cha/32/26178_2.png) [@Christopher\_Cha](https://community.dynatrace.com/u/Christopher_Cha)\
**Post date:** [July 18, 2019, 4:03pm UTC](https://community.dynatrace.com/t/how-work-custom-disk-detection-rules/21304/4 "2019-07-18T16:03:23Z")

</div>

You’re right, i.e. if you put 0.2% then the disk space should be 99.9% full before it gets detected as a problem (and subsequently alert).
