summaryrefslogtreecommitdiffstats
path: root/health/health.d/ceph.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/ceph.conf')
-rw-r--r--health/health.d/ceph.conf13
1 files changed, 6 insertions, 7 deletions
diff --git a/health/health.d/ceph.conf b/health/health.d/ceph.conf
index de16f7b6f..cdbab0f67 100644
--- a/health/health.d/ceph.conf
+++ b/health/health.d/ceph.conf
@@ -1,13 +1,12 @@
# low ceph disk available
-template: cluster_space_usage
+template: ceph_cluster_space_usage
on: ceph.general_usage
- calc: $avail * 100 / ($avail + $used)
+ calc: $used * 100 / ($used + $avail)
units: %
- every: 10s
- warn: $this < 10
- crit: $this < 1
+ every: 1m
+ warn: $this > (($status >= $WARNING ) ? (85) : (90))
+ crit: $this > (($status == $CRITICAL) ? (90) : (98))
delay: down 5m multiplier 1.2 max 1h
- info: ceph disk usage is almost full
+ info: cluster disk space utilization
to: sysadmin
-