From: Dimitri Savineau Date: Tue, 15 Sep 2020 13:30:42 +0000 (-0400) Subject: ceph-prometheus: update pool stat counter X-Git-Tag: v4.0.33~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=13fb83fc938fbe44477112a7d0c2b0c5f7ecb16f;p=ceph-ansible.git ceph-prometheus: update pool stat counter Since [1] The bytes_used pool counter in prometheus has been renamed to stored. Closes: #5781 [1] https://github.com/ceph/ceph/commit/71fe9149 Signed-off-by: Dimitri Savineau (cherry picked from commit e54b924eaf05a7223ec7525657d14e8892ce8957) --- diff --git a/roles/ceph-prometheus/files/ceph_dashboard.yml b/roles/ceph-prometheus/files/ceph_dashboard.yml index aff1b2589..7a1474416 100644 --- a/roles/ceph-prometheus/files/ceph_dashboard.yml +++ b/roles/ceph-prometheus/files/ceph_dashboard.yml @@ -74,7 +74,7 @@ groups: summary: "Network Errors" description: "This indicates that more than 10 dropped/error packets are seen in a 5m interval" - alert: Pool Capacity Low - expr: (ceph_pool_bytes_used / (ceph_pool_bytes_used + ceph_pool_max_avail) * 100 + on (pool_id) group_left (name) (ceph_pool_metadata*0)) > 85 + expr: (ceph_pool_stored / (ceph_pool_stored + ceph_pool_max_avail) * 100 + on (pool_id) group_left (name) (ceph_pool_metadata*0)) > 85 for: 1m labels: severity: page