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: v14.2.17~61^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39076%2Fhead;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 74907fd024e47..31d294518da29 100644 --- a/monitoring/prometheus/alerts/ceph_default_alerts.yml +++ b/monitoring/prometheus/alerts/ceph_default_alerts.yml @@ -215,8 +215,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