]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/retroshare.conf
b699dc966fd998787b0ffe82ae6382f88b475679
[netdata.git] / conf.d / health.d / retroshare.conf
1 # make sure RetroShare is running
2
3 template: retroshare_last_collected_secs
4       on: retroshare.peers
5     calc: $now - $last_collected_t
6    units: seconds ago
7    every: 10s
8     warn: $this > ( 5 * $update_every)
9     crit: $this > (60 * $update_every)
10    delay: up 0 down 15m multiplier 1.5 max 1h
11     info: number of seconds since the last successful data collection
12       to: sysadmin
13
14 # make sure the DHT is fine when active
15
16 template: retroshare_dht_working
17       on: retroshare.dht
18     calc: $dht_size_all
19    units: peers
20    every: 1m
21     warn: $this < 100
22     crit: $this == 0
23    delay: up 0 down 15m multiplier 1.5 max 1h
24     info: Checks if the DHT has enough peers to operate
25       to: sysadmin