05 May 2024 08:29 AM
How do I setup alerts for the below conditions for hosts.
1. Disk space between 85 to 90
2.Disk space greater than 90
Solved! Go to Solution.
05 May 2024 01:07 PM
Hi
In the Settings Anomaly detection Disks
you can find the bellow configuration (for all hosts, disks)_.
You can do the same in the host level.
otherwise, you can build your proper metric event based on the bellow metrics
05 May 2024 01:43 PM
How to at metric level for a range
85 to 90 - Warning
Greater 90 - Error
05 May 2024 03:03 PM
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)
05 May 2024 03:07 PM
Please let me know how to do this across all hosts with example
06 May 2024 09:39 AM
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
09 May 2024 04:01 AM - edited 09 May 2024 04:02 AM
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)
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)
I hope it's helpful 💪