From 5889b7d973b2567fa27aadbfee93d168a8ec0a13 Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Mon, 20 Feb 2023 11:14:27 +0100 Subject: [PATCH] DEV-824: inc. version for blackboxexporter + added new modules for blackbox testing --- host_vars/dev-blackbox-01.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/host_vars/dev-blackbox-01.yml b/host_vars/dev-blackbox-01.yml index b996dfa..eda8f2b 100644 --- a/host_vars/dev-blackbox-01.yml +++ b/host_vars/dev-blackbox-01.yml @@ -5,3 +5,34 @@ filebeat_enabled: false metricbeat_enabled: false monitor_port_system: 9100 + +blackbox_exporter_version: 0.23.0 +blackbox_exporter_configuration_modules: + http_2xx: + http: + method: GET + valid_status_codes: [] + prober: http + timeout: 5s + http_3xx: + http: + method: GET + valid_status_codes: + - 301 + - 302 + - 303 + - 304 + - 305 + prober: http + timeout: 5s + http_4xx: + http: + method: GET + valid_status_codes: + - 401 + - 402 + - 403 + - 404 + - 405 + prober: http + timeout: 5s