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.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/health/health.d/ipfs.conf b/src/health/health.d/ipfs.conf
index 4dfee3c7f..bc3b0b1ea 100644
--- a/src/health/health.d/ipfs.conf
+++ b/src/health/health.d/ipfs.conf
@@ -1,10 +1,10 @@
template: ipfs_datastore_usage
- on: ipfs.repo_size
+ on: ipfs.datastore_space_utilization
class: Utilization
type: Data Sharing
component: IPFS
- calc: $size * 100 / $avail
+ calc: $used
units: %
every: 10s
warn: $this > (($status >= $WARNING) ? (80) : (90))