diff options
author | 2021-02-04 13:03:12 +0000 | |
---|---|---|
committer | 2021-02-04 14:25:53 +0000 | |
commit | cfceaf325c290fc3a07f6c7cbefc1fc4af6dde1e (patch) | |
tree | ab955c24748e3e945f8876e96a996d9891ee6e14 /resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml | |
parent | 879b31f02fb4df52016d7465e21377121dfbb515 (diff) |
Infra: Move probes under ansible instead of terraform
+ More stable probe handling.
+ Naming cleanup due to errors.
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I3bb1237af20636919f869f2eee53597202d00792
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml b/resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml new file mode 100644 index 0000000000..f61c26e1a8 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/prometheus_exporter/files/blackbox.yml @@ -0,0 +1,25 @@ +modules: + http_2xx: + prober: http + timeout: 5s + http: + valid_http_versions: ["HTTP/1.1", "HTTP/2.0"] + no_follow_redirects: false + fail_if_ssl: false + fail_if_not_ssl: true + tls_config: + insecure_skip_verify: false + preferred_ip_protocol: "ip4" + icmp_v4: + prober: icmp + timeout: 5s + icmp: + preferred_ip_protocol: "ip4" + dns_udp: + prober: dns + timeout: 5s + dns: + query_name: "jenkins.fd.io" + query_type: "A" + valid_rcodes: + - NOERROR
\ No newline at end of file |