From c21a1a74061a0d12736bb7144a091e40d49ce5cb Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Wed, 3 Nov 2021 16:25:04 +0000 Subject: [PATCH] Blackbox exporter/HTTPS: Don't alert on 401 or 404 responses --- .../server/grafana-dashboards/services-overview.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/monitoring/server/grafana-dashboards/services-overview.json b/nixos/modules/monitoring/server/grafana-dashboards/services-overview.json index 549e3b11..09bfa3ac 100644 --- a/nixos/modules/monitoring/server/grafana-dashboards/services-overview.json +++ b/nixos/modules/monitoring/server/grafana-dashboards/services-overview.json @@ -104,7 +104,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.10", + "pluginVersion": "7.5.11", "pointradius": 2, "points": false, "renderer": "flot", @@ -245,7 +245,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.10", + "pluginVersion": "7.5.11", "pointradius": 2, "points": false, "renderer": "flot", @@ -256,7 +256,7 @@ "targets": [ { "exemplar": true, - "expr": "count by (instance) (probe_success == 0)", + "expr": "count by (instance) (probe_http_status_code!=200 and probe_http_status_code!=401 and probe_http_status_code!=404)", "interval": "", "legendFormat": "{{instance}}", "refId": "A" @@ -387,7 +387,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.10", + "pluginVersion": "7.5.11", "pointradius": 2, "points": false, "renderer": "flot", -- GitLab