@cryptotaxi247 / netdata-1 / commits / f133ae057

health: add httpcheck bad header alert (#16736)

Ilya Mashchenko committed Jan 6, 2024 at 19:25 UTC f133ae05701f6741d4c8753dca48e2ceade5b061
1 file changed +15
health/health.d/httpcheck.conf
+15
@@ -42,6 +42,21 @@ component: HTTP endpoint
42 info: Percentage of HTTP responses from ${label:url} with unexpected status in the last 5 minutes
43 to: webmaster
44
45 + template: httpcheck_web_service_bad_header
46 + on: httpcheck.status
47 + class: Errors
48 + type: Web Server
49 +component: HTTP endpoint
50 + lookup: average -5m unaligned percentage of bad_header
51 + every: 10s
52 + units: %
53 + warn: $this >= 10 AND $this < 40
54 + crit: $this >= 40
55 + delay: down 5m multiplier 1.5 max 1h
56 + summary: HTTP check for ${label:url} unexpected header
57 + info: Percentage of HTTP responses from ${label:url} with unexpected header in the last 5 minutes
58 + to: webmaster
59 +
60 template: httpcheck_web_service_timeouts
61 on: httpcheck.status
62 class: Latency