fixed flip-flop of backend alarm
Costa Tsaousis (ktsaou) committed
Mar 18, 2018 at 19:10 UTC
e095a1716c65c9b54c92110a4a8c6977f499ee13
1 file changed
+1
-1
conf.d/health.d/backend.conf
+1
-1
@@ -27,7 +27,7 @@
27
units: metrics
28
calc: abs($lost)
29
every: 10s
30
- crit: $this != 0
30
+ crit: ($this != 0) || ($status == $CRITICAL && abs($sent) == 0)
31
delay: down 5m multiplier 1.5 max 1h
32
info: number of metrics lost due to repeating failures to contact the backend server
33
to: dba