File: //proc/self/root/proc/self/root/proc/2977345/root/lib/netdata/conf.d/health.d/retroshare.conf
# 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