summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/retroshare.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/retroshare.conf')
-rw-r--r--src/health/health.d/retroshare.conf17
1 files changed, 17 insertions, 0 deletions
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