summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/retroshare.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /src/health/health.d/retroshare.conf
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 00000000..c665430f
--- /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