summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/ceph.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/health.d/ceph.conf')
-rw-r--r--conf.d/health.d/ceph.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf.d/health.d/ceph.conf b/conf.d/health.d/ceph.conf
new file mode 100644
index 000000000..de16f7b6f
--- /dev/null
+++ b/conf.d/health.d/ceph.conf
@@ -0,0 +1,13 @@
+# low ceph disk available
+
+template: cluster_space_usage
+ on: ceph.general_usage
+ calc: $avail * 100 / ($avail + $used)
+ units: %
+ every: 10s
+ warn: $this < 10
+ crit: $this < 1
+ delay: down 5m multiplier 1.2 max 1h
+ info: ceph disk usage is almost full
+ to: sysadmin
+