@cryptotaxi247 / netdata-1 / commits / f5a8d2086

1m_redirects should only use 301,303,307,308

Costa Tsaousis (ktsaou) committed Feb 11, 2017 at 15:58 UTC f5a8d2086e1632e3f68ba94d419280b6633334d5
1 file changed +3 -3
conf.d/health.d/web_log.conf
+3 -3
@@ -48,16 +48,16 @@ families: *
48 to: webmaster
49
50 template: 1m_redirects
51 - on: web_log.response_codes
51 + on: web_log.detailed_response_codes
52 families: *
53 - lookup: sum -1m unaligned of 3xx
53 + lookup: sum -1m unaligned of 301,303,307,308
54 calc: $this * 100 / ( $1m_2xx + $this )
55 units: %
56 every: 10s
57 warn: ($1m_requests > 30) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 2 )) ) : ( 0 )
58 crit: ($1m_requests > 30) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
59 delay: down 15m multiplier 1.5 max 1h
60 - info: the ratio of HTTP redirects (3xx) vs the successful requests, \
60 + info: the ratio of HTTP redirects (301, 303, 307, 308) vs the successful requests, \
61 over the last minute
62 to: webmaster
63