cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disk space alert

sundarv1
Organizer

How do I setup alerts for the below conditions for hosts.

1. Disk space between 85 to 90

2.Disk space greater than 90

6 REPLIES 6

Malaik
Leader

Hi 
In the Settings Anomaly detection Disks

you can find the bellow configuration (for all hosts, disks)_.

Malaik_0-1714910681148.png

 

You can do the same in the host level.

 

otherwise, you can build your proper metric event based on the bellow metrics

Malaik_1-1714910847222.png

 

 

Sharing Knowledge

How to at metric level for a range 

85 to 90 - Warning

Greater 90 - Error

No range available for the configuration

 

You should decide to make it different, for example:

Process group availability monitoring 

85 - Warning

90 - Major

Greater 90 - Error (or critical)

 
Sharing Knowledge

Please let me know how to do this across all hosts with example

Try with this metric selector:

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

PierreGutierrez
Dynatrace Pro
Dynatrace Pro

Hi @sundarv1 
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

 

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

PierreGutierrez_3-1715223750143.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

 

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

PierreGutierrez_2-1715223744943.png
I hope it's helpful 💪

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Featured Posts