From 83ba6762cc43d9db581b979bb5e3445669e46cc2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 25 Nov 2024 18:33:56 +0100 Subject: Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145). Signed-off-by: Daniel Baumann --- src/health/health.d/ceph.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/health/health.d/ceph.conf') diff --git a/src/health/health.d/ceph.conf b/src/health/health.d/ceph.conf index 44d351338..0048e2a7c 100644 --- a/src/health/health.d/ceph.conf +++ b/src/health/health.d/ceph.conf @@ -1,16 +1,16 @@ # low ceph disk available - template: ceph_cluster_space_usage - on: ceph.general_usage + template: ceph_cluster_physical_capacity_utilization + on: ceph.cluster_physical_capacity_utilization class: Utilization type: Storage component: Ceph - calc: $used * 100 / ($used + $avail) + calc: $utilization units: % every: 1m - warn: $this > (($status >= $WARNING ) ? (85) : (90)) - crit: $this > (($status == $CRITICAL) ? (90) : (98)) - delay: down 5m multiplier 1.2 max 1h - summary: Ceph cluster disk space utilization - info: Ceph cluster disk space utilization - to: sysadmin + warn: $this > (($status >= $WARNING ) ? (85) : (90)) + crit: $this > (($status == $CRITICAL) ? (90) : (98)) + delay: down 5m multiplier 1.2 max 1h + summary: Ceph cluster ${label:fsid} disk space utilization + info: Ceph cluster ${label:fsid} disk space utilization + to: sysadmin -- cgit v1.2.3