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.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/health/health.d/ceph.conf b/health/health.d/ceph.conf
new file mode 100644
index 00000000..44d35133
--- /dev/null
+++ b/health/health.d/ceph.conf
@@ -0,0 +1,16 @@
+# low ceph disk available
+
+ template: ceph_cluster_space_usage
+ on: ceph.general_usage
+ class: Utilization
+ type: Storage
+component: Ceph
+ calc: $used * 100 / ($used + $avail)
+ 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