set up-delay on web alarms; fixes #1832
Costa Tsaousis (ktsaou) committed
Feb 24, 2017 at 21:18 UTC
b8594908ce6970e8f42a5b3de5d02c7873bbc05d
1 file changed
+4
-4
conf.d/health.d/web_log.conf
+4
-4
@@ -42,7 +42,7 @@ families: *
42
every: 10s
43
warn: ($1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
44
crit: ($1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
45
- delay: down 15m multiplier 1.5 max 1h
45
+ delay: up 2m down 15m multiplier 1.5 max 1h
46
info: the ratio of successful HTTP responses (1xx, 2xx, 304) over the last minute
47
to: webmaster
48
@@ -55,7 +55,7 @@ families: *
55
every: 10s
56
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 20 )) ) : ( 0 )
57
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 20 ) : ( 30 )) ) : ( 0 )
58
- delay: down 15m multiplier 1.5 max 1h
58
+ delay: up 2m down 15m multiplier 1.5 max 1h
59
info: the ratio of HTTP redirects (3xx except 304) over the last minute
60
to: webmaster
61
@@ -68,7 +68,7 @@ families: *
68
every: 10s
69
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
70
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
71
- delay: down 15m multiplier 1.5 max 1h
71
+ delay: up 2m down 15m multiplier 1.5 max 1h
72
info: the ratio of HTTP bad requests (4xx) over the last minute
73
to: webmaster
74
@@ -81,7 +81,7 @@ families: *
81
every: 10s
82
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 1 ) : ( 2 )) ) : ( 0 )
83
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
84
- delay: down 15m multiplier 1.5 max 1h
84
+ delay: up 2m down 15m multiplier 1.5 max 1h
85
info: the ratio of HTTP internal server errors (5xx), over the last minute
86
to: webmaster
87