summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/ipfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/ipfs.conf')
-rw-r--r--src/health/health.d/ipfs.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/health/health.d/ipfs.conf b/src/health/health.d/ipfs.conf
new file mode 100644
index 000000000..4dfee3c7f
--- /dev/null
+++ b/src/health/health.d/ipfs.conf
@@ -0,0 +1,15 @@
+
+ template: ipfs_datastore_usage
+ on: ipfs.repo_size
+ class: Utilization
+ type: Data Sharing
+component: IPFS
+ calc: $size * 100 / $avail
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (80) : (90))
+ crit: $this > (($status == $CRITICAL) ? (90) : (98))
+ delay: down 15m multiplier 1.5 max 1h
+ summary: IPFS datastore utilization
+ info: IPFS datastore utilization
+ to: sysadmin