From b485aab7e71c1625cfc27e0f92c9509f42378458 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:19:16 +0200 Subject: Adding upstream version 1.45.3+dfsg. Signed-off-by: Daniel Baumann --- src/health/health.d/ipfs.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/health/health.d/ipfs.conf (limited to 'src/health/health.d/ipfs.conf') 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 -- cgit v1.2.3