From: Daniël Vos Date: Wed, 25 Nov 2020 11:05:53 +0000 (+0100) Subject: mgr/prometheus: Fix 'pool filling up' with >50% usage X-Git-Tag: v15.2.9~68^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=22f25940cec3f35ebc88072c613195a061105d65;p=ceph.git mgr/prometheus: Fix 'pool filling up' with >50% usage Fixes: https://tracker.ceph.com/issues/48354 Signed-off-by: Daniël Vos (cherry picked from commit 79568d51c6ba1a064e31f0591a922ce45141a78e) --- diff --git a/monitoring/prometheus/alerts/ceph_default_alerts.yml b/monitoring/prometheus/alerts/ceph_default_alerts.yml index 51d19bfca963..bb2191f2589d 100644 --- a/monitoring/prometheus/alerts/ceph_default_alerts.yml +++ b/monitoring/prometheus/alerts/ceph_default_alerts.yml @@ -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