# Custom Anomaly detection for Specific drives on a host

**URL:** <https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [May 3, 2018, 1:42pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733 "2018-05-03T13:42:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [May 3, 2018, 1:42pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/1 "2018-05-03T13:42:38Z")

</div>

We are currently deploying Dynatrace in a large environment. We have a use case which requires that certain host alerts be sent to Support Team A, and other’s to Support Team B, e.g. Support Team A needs to be notified if the c:\ is running out of space, but Support Team B needs to know if the D:\ is running out of space for a specific host (or group of hosts).

I have been trying to set up an Custom rule to do this, but cant seem to do so.

Is there any way that this can be achieved?

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 3, 2018, 1:57pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/2 "2018-05-03T13:57:04Z")

</div>

You can specify custom thresholds for specific drives, but you can’t create alerting profiles based on drives, as you can only tag an entire host not a drive.

You could open an enhancement request though.

---

<div class="post-metadata">

**Author:** ![Shiv\_Pati](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Shiv\_Pati](https://community.dynatrace.com/u/Shiv_Pati)\
**Post date:** [May 3, 2018, 2:14pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/3 "2018-05-03T14:14:10Z")

</div>

First step would be creating 2 separate alert profiles “Team A” and “Team B”, then on host level; you can select the specific drive you want to assign to each team.

---

<div class="post-metadata">

**Author:** ![hayden\_miedema](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hayden_miedema/32/29357_2.png) [@hayden\_miedema](https://community.dynatrace.com/u/hayden_miedema)\
**Post date:** [May 3, 2018, 3:29pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/4 "2018-05-03T15:29:39Z")

</div>

You actually can specify different settings per disk in the ‘anomaly detection’ settings on a specific host:

 ![16714-disk.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c571d2724e42adea8188795d44a76d8482b02b23.png)

Browse to the specific host’s edit page, then you can change these on a per disk basis. You would then take the approach that the other’s have outlined here of setting up alerting profiles.

Thanks,  
Hayden

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 3, 2018, 5:14pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/5 "2018-05-03T17:14:49Z")

</div>

But, alerting profiles can only be based on tags, and a tag is assigned to the entire host not a single disk, so that won’t work, right? Or am I missing something here?

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [May 3, 2018, 5:32pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/6 "2018-05-03T17:32:22Z")

</div>

Hey Patrick,

You are correct. Alerting Profiles can only be based on tags so this won’t work. I believe his best option to handle this is to create an alerting profile that sends both to a recipient and that recipient should have an email forwarding rule based on the contents of the email notification e.g from noreply@dynatrace, subject contains whatever set for the subject of the notification and if body contains “disk C:\” to team A and the “disk D:\” to team B (this is an example do not use this rule verbatim)

Thanks

NJ

---

<div class="post-metadata">

**Author:** ![hayden\_miedema](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hayden_miedema/32/29357_2.png) [@hayden\_miedema](https://community.dynatrace.com/u/hayden_miedema)\
**Post date:** [May 3, 2018, 5:34pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/7 "2018-05-03T17:34:13Z")

</div>

Ah yes, good point Patrick. My mistake on not seeing that specific use case.

---

<div class="post-metadata">

**Author:** ![AmitChiba](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/amitchiba/32/17623_2.png) [@AmitChiba](https://community.dynatrace.com/u/AmitChiba)\
**Post date:** [May 4, 2018, 6:56am UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/8 "2018-05-04T06:56:56Z")

</div>

Thanks for the responses. [@Patrick H.](https://answers.dynatrace.com/users/11534/view.html) I will open an RFE for this.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [May 7, 2018, 12:49pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/9 "2018-05-07T12:49:12Z")

</div>

The RFE can be foudn here:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3D07a2a2ff-ca0e-4284-b372-5f3325516621&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

---

<div class="post-metadata">

**Author:** ![CharlesWu](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@CharlesWu](https://community.dynatrace.com/u/CharlesWu)\
**Post date:** [June 23, 2020, 10:58pm UTC](https://community.dynatrace.com/t/custom-anomaly-detection-for-specific-drives-on-a-host/11733/10 "2020-06-23T22:58:56Z")

</div>

Using “Custom disk-detection rule” creates some custom disk rules for specific drives or mount points, then create some alerting profiles by using the “Custom disk-detection rule” as filters, then create the notification with these different alerting profiles, which will triggers alerts to different recipients, repectively, while tagging on drives or mount points is not available. I tested and it works for me.
