to: webmaster
template: 1m_redirects
- on: web_log.response_codes
+ on: web_log.detailed_response_codes
families: *
- lookup: sum -1m unaligned of 3xx
+ lookup: sum -1m unaligned of 301,303,307,308
calc: $this * 100 / ( $1m_2xx + $this )
units: %
every: 10s
warn: ($1m_requests > 30) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 2 )) ) : ( 0 )
crit: ($1m_requests > 30) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
delay: down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP redirects (3xx) vs the successful requests, \
+ info: the ratio of HTTP redirects (301, 303, 307, 308) vs the successful requests, \
over the last minute
to: webmaster