summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--health/health.d/httpcheck.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/health/health.d/httpcheck.conf b/health/health.d/httpcheck.conf
index da5dec797a..3d32dedbf4 100644
--- a/health/health.d/httpcheck.conf
+++ b/health/health.d/httpcheck.conf
@@ -42,6 +42,21 @@ component: HTTP endpoint
info: Percentage of HTTP responses from ${label:url} with unexpected status in the last 5 minutes
to: webmaster
+ template: httpcheck_web_service_bad_header
+ on: httpcheck.status
+ class: Errors
+ type: Web Server
+component: HTTP endpoint
+ lookup: average -5m unaligned percentage of bad_header
+ every: 10s
+ units: %
+ warn: $this >= 10 AND $this < 40
+ crit: $this >= 40
+ delay: down 5m multiplier 1.5 max 1h
+ summary: HTTP check for ${label:url} unexpected header
+ info: Percentage of HTTP responses from ${label:url} with unexpected header in the last 5 minutes
+ to: webmaster
+
template: httpcheck_web_service_timeouts
on: httpcheck.status
class: Latency