From b5f8ee61a7f7e9bd291dd26b0585d03eb686c941 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:19:16 +0200 Subject: Adding upstream version 1.46.3. Signed-off-by: Daniel Baumann --- src/health/health.d/retroshare.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/health/health.d/retroshare.conf (limited to 'src/health/health.d/retroshare.conf') diff --git a/src/health/health.d/retroshare.conf b/src/health/health.d/retroshare.conf new file mode 100644 index 000000000..c665430fa --- /dev/null +++ b/src/health/health.d/retroshare.conf @@ -0,0 +1,17 @@ + +# make sure the DHT is fine when active + + template: retroshare_dht_working + on: retroshare.dht + class: Utilization + type: Data Sharing +component: Retroshare + calc: $dht_size_all + units: peers + every: 1m + warn: $this < (($status >= $WARNING) ? (120) : (100)) + crit: $this < (($status == $CRITICAL) ? (10) : (1)) + delay: up 0 down 15m multiplier 1.5 max 1h + summary: Retroshare DHT peers + info: Number of DHT peers + to: sysadmin -- cgit v1.2.3