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