summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin/prometheus_alerts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'monitoring/ceph-mixin/prometheus_alerts.yml')
-rw-r--r--monitoring/ceph-mixin/prometheus_alerts.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/monitoring/ceph-mixin/prometheus_alerts.yml b/monitoring/ceph-mixin/prometheus_alerts.yml
index 3eb8a8db4fa..3440d761351 100644
--- a/monitoring/ceph-mixin/prometheus_alerts.yml
+++ b/monitoring/ceph-mixin/prometheus_alerts.yml
@@ -765,6 +765,15 @@ groups:
labels:
severity: "warning"
type: "ceph_default"
+ - alert: "NVMeoFMultipleNamespacesOfRBDImage"
+ annotations:
+ description: "Each NVMeoF namespace must have a unique RBD pool and image, across all different gateway groups."
+ summary: "RBD image {{ $labels.pool_name }}/{{ $labels.rbd_name }} cannot be reused for multiple NVMeoF namespace "
+ expr: "count by(pool_name, rbd_name) (count by(bdev_name, pool_name, rbd_name) (ceph_nvmeof_bdev_metadata and on (bdev_name) ceph_nvmeof_subsystem_namespace_metadata)) > 1"
+ for: "1m"
+ labels:
+ severity: "warning"
+ type: "ceph_default"
- alert: "NVMeoFTooManyGateways"
annotations:
description: "You may create many gateways, but 4 is the tested limit"