@cryptotaxi247 / netdata-1 / commits / b566bfc4a

Added MongoDB alarm configuration

jnogol committed May 30, 2017 at 09:21 UTC b566bfc4ab1768f2b345d64efebff27ff74f7a3b
1 file changed +13
conf.d/health.d/mongo.conf new
+13
@@ -0,0 +1,13 @@
1 +
2 +# make sure mongodb is running
3 +
4 +template: mongodb_last_collected_secs
5 + on: mongodb.read_operations
6 + calc: $now - $last_collected_t
7 + units: seconds ago
8 + every: 10s
9 + warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
10 + crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
11 + delay: down 5m multiplier 1.5 max 1h
12 + info: number of seconds since the last successful data collection
13 + to: dba