Hi Team,

I have defined below the alert rule which says if disk usage exceeds 80%,
it should raise the critical alert. Can I define in the same rule file if
disk usage is between > 60 % & < 80% should be considered as a warning ? Or
do I have to define another alert rule for the warning level ?

```
  # Disk usage in percentage
  - alert: DiskUsageInPercentage
    expr: disk_usage_percentage > 80
    for: 10m
    labels:
      severity: critical
    annotations:
      summary: "Disk usage in percentage on {{ $labels.instance }}"
      description: "{{ $labels.instance }} has disk usage percentage above
threshold value of 80% (current value: {{ $value }}%)"
```

Let us know in case of any query. Help will be appreciated.

Thanks,
Neel

-- 
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 on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAPTvBttLZ7CcmoRTTpU%2BbGeHLQJDut6dTEmCVz54KhOjNCtZjQ%40mail.gmail.com.

Reply via email to