| 1 | |
| 2 | # make sure the DHT is fine when active |
| 3 | |
| 4 | template: retroshare_dht_working |
| 5 | on: retroshare.dht |
| 6 | class: Utilization |
| 7 | type: Data Sharing |
| 8 | component: Retroshare |
| 9 | calc: $dht_size_all |
| 10 | units: peers |
| 11 | every: 1m |
| 12 | warn: $this < (($status >= $WARNING) ? (120) : (100)) |
| 13 | crit: $this < (($status == $CRITICAL) ? (10) : (1)) |
| 14 | delay: up 0 down 15m multiplier 1.5 max 1h |
| 15 | summary: Retroshare DHT peers |
| 16 | info: Number of DHT peers |
| 17 | to: sysadmin |