Hi Friends!

I neeed your help, i've created alert in AlertManager to monitor disk space 
on windows OS

and it works fine except one annoying thing - this rule also monitoring 
System Volume that is almost full (and it's normal) and i don't know how to 
exclude it. Maybe someone can help with this?
I want to exclude this volume from checking : HarddiskVolume4
Rule:
- alert: DiskSpaceUsage
    expr: 100.0 - 100 * (windows_logical_disk_free_bytes / 
windows_logical_disk_size_bytes) > 80
    for: 10m
    labels:
      severity: high
    annotations:
      summary: "Disk Space Usage (instance {{ $labels.instance }})"
      description: "Disk Space on Drive is used more than 80%\n  VALUE = {{ 
$value }}\n  LABELS: {{ $labels }}"


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/prometheus-users/4b4f6d9b-6a4e-41b5-b54a-1dad3abdb957n%40googlegroups.com.

Reply via email to