]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/retroshare.conf
dns_query_time plugin: replace "." with "_" in dimensions
[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 > (($status >= $WARNING)  ? ($update_every) : ( 5 * $update_every))
9     crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
10    delay: down 5m 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 < (($status >= $WARNING)  ? (120) : (100))
22     crit: $this < (($status == $CRITICAL) ? (10)  : (1))
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