summaryrefslogtreecommitdiffstats
path: root/health/health.d/ipfs.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/ipfs.conf')
-rw-r--r--health/health.d/ipfs.conf23
1 files changed, 13 insertions, 10 deletions
diff --git a/health/health.d/ipfs.conf b/health/health.d/ipfs.conf
index fd53c2c46..6268f4092 100644
--- a/health/health.d/ipfs.conf
+++ b/health/health.d/ipfs.conf
@@ -1,11 +1,14 @@
-template: ipfs_datastore_usage
- on: ipfs.repo_size
- 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
- info: IPFS datastore utilization
- to: sysadmin
+ template: ipfs_datastore_usage
+ on: ipfs.repo_size
+ class: Data Sharing
+component: IPFS
+ type: Utilization
+ 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
+ info: IPFS datastore utilization
+ to: sysadmin