From f133ae05701f6741d4c8753dca48e2ceade5b061 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Sat, 6 Jan 2024 19:25:02 +0200 Subject: health: add httpcheck bad header alert (#16736) --- health/health.d/httpcheck.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.2.3