How do I setup alerts for the below conditions for hosts.
1. Disk space between 85 to 90
2.Disk space greater than 90
How do I setup alerts for the below conditions for hosts.
1. Disk space between 85 to 90
2.Disk space greater than 90
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
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)
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
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 ![]()