summaryrefslogtreecommitdiffstats
path: root/health/health.d/web_log.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/web_log.conf')
-rw-r--r--health/health.d/web_log.conf50
1 files changed, 25 insertions, 25 deletions
diff --git a/health/health.d/web_log.conf b/health/health.d/web_log.conf
index 44de38a48..0b01990cb 100644
--- a/health/health.d/web_log.conf
+++ b/health/health.d/web_log.conf
@@ -31,7 +31,7 @@ families: *
calc: ($this == 0)?(1):($this)
units: requests
every: 10s
- info: the sum of all HTTP requests over the last minute
+ info: number of HTTP requests in the last minute
template: 1m_successful
on: web_log.response_statuses
@@ -43,7 +43,7 @@ families: *
warn: ($1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of successful HTTP responses (1xx, 2xx, 304, 401) over the last minute
+ info: ratio of successful HTTP requests over the last minute (1xx, 2xx, 304, 401)
to: webmaster
template: 1m_redirects
@@ -56,7 +56,7 @@ families: *
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 20 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 20 ) : ( 30 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP redirects (3xx except 304) over the last minute
+ info: ratio of redirection HTTP requests over the last minute (3xx except 304)
to: webmaster
template: 1m_bad_requests
@@ -69,7 +69,7 @@ families: *
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP bad requests (4xx except 401) over the last minute
+ info: ratio of client error HTTP requests over the last minute (4xx except 401)
to: webmaster
template: 1m_internal_errors
@@ -82,7 +82,7 @@ families: *
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 1 ) : ( 2 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP internal server errors (5xx), over the last minute
+ info: ratio of server error HTTP requests over the last minute (5xx)
to: webmaster
# unmatched lines
@@ -101,10 +101,10 @@ families: *
calc: ($this == 0)?(1):($this)
units: requests
every: 10s
- info: the sum of all HTTP requests over the last minute
+ info: number of HTTP requests over the last minute
template: 1m_unmatched
-on: web_log.response_codes
+ on: web_log.response_codes
families: *
lookup: sum -1m unaligned of unmatched
calc: $this * 100 / $1m_total_requests
@@ -112,7 +112,7 @@ families: *
every: 10s
warn: ($1m_total_requests > 120) ? ($this > 1) : ( 0 )
delay: up 1m down 5m multiplier 1.5 max 1h
- info: the ratio of unmatched lines, over the last minute
+ info: percentage of unparsed log lines over the last minute
to: webmaster
# -----------------------------------------------------------------------------
@@ -131,7 +131,7 @@ families: *
lookup: average -10m unaligned of avg
units: ms
every: 30s
- info: the average time to respond to HTTP requests, over the last 10 minutes
+ info: average HTTP response time over the last 10 minutes
template: web_slow
on: web_log.response_time
@@ -144,7 +144,7 @@ families: *
warn: ($1m_requests > 120) ? ($this > $green && $this > ($10m_response_time * 2) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > $red && $this > ($10m_response_time * 4) ) : ( 0 )
delay: down 15m multiplier 1.5 max 1h
- info: the average time to respond to HTTP requests, over the last 1 minute
+ info: average HTTP response time over the last minute
options: no-clear-notification
to: webmaster
@@ -165,7 +165,7 @@ families: *
lookup: average -5m at -5m unaligned of successful_requests
units: requests/s
every: 30s
- info: average rate of successful HTTP requests over the last 5 minutes
+ info: average number of successful HTTP requests for the 5 minutes starting 10 minutes ago
template: 5m_successful
on: web_log.response_statuses
@@ -173,7 +173,7 @@ families: *
lookup: average -5m unaligned of successful_requests
units: requests/s
every: 30s
- info: average successful HTTP requests over the last 5 minutes
+ info: average number of successful HTTP requests over the last 5 minutes
template: 5m_requests_ratio
on: web_log.response_codes
@@ -185,7 +185,7 @@ families: *
crit: ($5m_successful_old > 120) ? ($this > 400 OR $this < 25) : (0)
delay: down 15m multiplier 1.5 max 1h
options: no-clear-notification
- info: the percentage of successful web requests over the last 5 minutes, \
+ info: ratio of successful HTTP requests over the last 5 minutes, \
compared with the previous 5 minutes \
(clear notification for this alarm will not be sent)
to: webmaster
@@ -224,7 +224,7 @@ families: *
calc: ($this == 0)?(1):($this)
units: requests
every: 10s
- info: the sum of all HTTP requests over the last minute
+ info: number of HTTP requests in the last minute
template: web_log_1m_unmatched
on: web_log.excluded_requests
@@ -235,7 +235,7 @@ families: *
every: 10s
warn: ($web_log_1m_total_requests > 120) ? ($this > 1) : ( 0 )
delay: up 1m down 5m multiplier 1.5 max 1h
- info: the ratio of unmatched lines, over the last minute
+ info: percentage of unparsed log lines over the last minute
to: webmaster
# -----------------------------------------------------------------------------
@@ -255,7 +255,7 @@ families: *
calc: ($this == 0)?(1):($this)
units: requests
every: 10s
- info: the sum of all HTTP requests over the last minute
+ info: number of HTTP requests in the last minute
template: web_log_1m_successful
on: web_log.type_requests
@@ -267,7 +267,7 @@ families: *
warn: ($web_log_1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
crit: ($web_log_1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of successful HTTP responses (1xx, 2xx, 304, 401) over the last minute
+ info: ratio of successful HTTP requests over the last minute (1xx, 2xx, 304, 401)
to: webmaster
template: web_log_1m_redirects
@@ -280,7 +280,7 @@ families: *
warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 20 )) ) : ( 0 )
crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 20 ) : ( 30 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP redirects (3xx except 304) over the last minute
+ info: ratio of redirection HTTP requests over the last minute (3xx except 304)
to: webmaster
template: web_log_1m_bad_requests
@@ -293,7 +293,7 @@ families: *
warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP bad requests (4xx except 401) over the last minute
+ info: ratio of client error HTTP requests over the last minute (4xx except 401)
to: webmaster
template: web_log_1m_internal_errors
@@ -306,7 +306,7 @@ families: *
warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 1 ) : ( 2 )) ) : ( 0 )
crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
delay: up 2m down 15m multiplier 1.5 max 1h
- info: the ratio of HTTP internal server errors (5xx), over the last minute
+ info: ratio of server error HTTP requests over the last minute (5xx)
to: webmaster
# -----------------------------------------------------------------------------
@@ -325,7 +325,7 @@ families: *
lookup: average -10m unaligned of avg
units: ms
every: 30s
- info: the average time to respond to HTTP requests, over the last 10 minutes
+ info: average HTTP response time over the last 10 minutes
template: web_log_web_slow
on: web_log.request_processing_time
@@ -338,7 +338,7 @@ families: *
warn: ($web_log_1m_requests > 120) ? ($this > $green && $this > ($web_log_10m_response_time * 2) ) : ( 0 )
crit: ($web_log_1m_requests > 120) ? ($this > $red && $this > ($web_log_10m_response_time * 4) ) : ( 0 )
delay: down 15m multiplier 1.5 max 1h
- info: the average time to respond to HTTP requests, over the last 1 minute
+ info: average HTTP response time over the last 1 minute
options: no-clear-notification
to: webmaster
@@ -359,7 +359,7 @@ families: *
lookup: average -5m at -5m unaligned of success
units: requests/s
every: 30s
- info: average rate of successful HTTP requests over the last 5 minutes
+ info: average number of successful HTTP requests for the 5 minutes starting 10 minutes ago
template: web_log_5m_successful
on: web_log.type_requests
@@ -367,7 +367,7 @@ families: *
lookup: average -5m unaligned of success
units: requests/s
every: 30s
- info: average successful HTTP requests over the last 5 minutes
+ info: average number of successful HTTP requests over the last 5 minutes
template: web_log_5m_requests_ratio
on: web_log.type_requests
@@ -379,7 +379,7 @@ families: *
crit: ($web_log_5m_successful_old > 120) ? ($this > 400 OR $this < 25) : (0)
delay: down 15m multiplier 1.5 max 1h
options: no-clear-notification
- info: the percentage of successful web requests over the last 5 minutes, \
+ info: ratio of successful HTTP requests over over the last 5 minutes, \
compared with the previous 5 minutes \
(clear notification for this alarm will not be sent)
to: webmaster