From 51e7231b3d520264d78bb201135e0f8865ebad7d Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Thu, 29 Aug 2019 19:03:54 +0200 Subject: [PATCH] fix(blackbox exporter): alert when http >= 400 instead of 300 --- _data/rules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/rules.yml b/_data/rules.yml index fc87e96..bf1203d 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -519,8 +519,8 @@ services: query: probe_success == 0 severity: error - name: Status Code - description: HTTP status code is not 200-299 - query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 300' + description: HTTP status code is not 200-399 + query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 400' severity: error - name: SSL certificate will expire soon description: SSL certificate expires in 30 days