Skip to main content
APA
Sponsored byCAST AI — Kubernetes cost optimizationBetter Stack — Uptime monitoring and log managementVictoriaMetrics — Fast, open-source time series database and drop-in Prometheus replacement.

OpenEBS logoOpenEBS Prometheus Alert Rules

4 Prometheus alerting rules for OpenEBS.Exported via Embedded exporter.These rules cover critical and warning conditions — copy and paste the YAML into your Prometheus configuration.

⚠️

Alert thresholds depend on the nature of your applications. Some queries may have arbitrary tolerance thresholds. Building an efficient monitoring platform takes time. 😉

10.3.OpenEBS logoEmbedded exporter(4 rules)

wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/refs/heads/master/dist/rules/openebs/embedded-exporter.yml
critical

10.3.1.OpenEBS LVM volume group missing physical volume

OpenEBS LVM LocalPV volume group {{ $labels.instance }} is missing {{ $value }} underlying physical volume(s), which puts data at risk of loss.

- alert: OpenEBSLVMVolumeGroupMissingPhysicalVolume
  expr: lvm_vg_missing_pv_count > 0
  for: 0m
  labels:
    severity: critical
  annotations:
    summary: OpenEBS LVM volume group missing physical volume (instance {{ $labels.instance }})
    description: "OpenEBS LVM LocalPV volume group {{ $labels.instance }} is missing {{ $value }} underlying physical volume(s), which puts data at risk of loss.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

10.3.2.OpenEBS used pool capacity

OpenEBS Pool use more than 80% of his capacity

- alert: OpenEBSUsedPoolCapacity
  expr: openebs_used_pool_capacity_percent > 80
  for: 2m
  labels:
    severity: warning
  annotations:
    summary: OpenEBS used pool capacity (instance {{ $labels.instance }})
    description: "OpenEBS Pool use more than 80% of his capacity\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

10.3.3.OpenEBS LVM volume group capacity high

OpenEBS LVM LocalPV volume group {{ $labels.instance }} is using more than 90% of its capacity ({{ $value }}%). Free up space or expand the volume group to avoid provisioning failures.

- alert: OpenEBSLVMVolumeGroupCapacityHigh
  expr: ((lvm_vg_total_size_bytes - lvm_vg_free_size_bytes) / lvm_vg_total_size_bytes) * 100 > 90
  for: 2m
  labels:
    severity: warning
  annotations:
    summary: OpenEBS LVM volume group capacity high (instance {{ $labels.instance }})
    description: "OpenEBS LVM LocalPV volume group {{ $labels.instance }} is using more than 90% of its capacity ({{ $value }}%). Free up space or expand the volume group to avoid provisioning failures.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"
warning

10.3.4.OpenEBS LVM thin pool capacity high

OpenEBS LVM LocalPV thin pool {{ $labels.instance }} is using more than 90% of its capacity ({{ $value }}%). A thin pool can run out of space even when the underlying volume group has free capacity.

- alert: OpenEBSLVMThinPoolCapacityHigh
  expr: lvm_lv_used_percent{segtype="thin-pool"} > 90
  for: 2m
  labels:
    severity: warning
  annotations:
    summary: OpenEBS LVM thin pool capacity high (instance {{ $labels.instance }})
    description: "OpenEBS LVM LocalPV thin pool {{ $labels.instance }} is using more than 90% of its capacity ({{ $value }}%). A thin pool can run out of space even when the underlying volume group has free capacity.\n  VALUE = {{ $value }}\n  LABELS = {{ $labels }}"