]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/prometheus: Fix 'pool filling up' with >50% usage 38282/head
authorDaniël Vos <danielvos@outlook.com>
Wed, 25 Nov 2020 11:05:53 +0000 (12:05 +0100)
committerDaniël Vos <danielvos@outlook.com>
Tue, 1 Dec 2020 15:31:09 +0000 (16:31 +0100)
Fixes: https://tracker.ceph.com/issues/48354
Signed-off-by: Daniël Vos <danielvos@outlook.com>
monitoring/prometheus/alerts/ceph_default_alerts.yml

index b14eb15460ccc7ee17739c1ac005fb50b8f81561..b07ea80ea8ac0fc44709977ed0eb22a9a4582bde 100644 (file)
@@ -230,8 +230,8 @@ groups:
       - alert: pool filling up
         expr: |
           (
-            predict_linear(ceph_pool_stored[2d], 3600 * 24 * 5) >=
-            ceph_pool_max_avail
+            predict_linear(ceph_pool_stored[2d], 3600 * 24 * 5)
+            >= ceph_pool_stored + ceph_pool_max_avail
           ) * on(pool_id) group_left(name) ceph_pool_metadata
         labels:
           severity: warning