summaryrefslogtreecommitdiffstats
path: root/health/health.d/retroshare.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--health/health.d/retroshare.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/health/health.d/retroshare.conf b/health/health.d/retroshare.conf
new file mode 100644
index 00000000..c665430f
--- /dev/null
+++ b/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