From 95b73daa36b23565a8566f71f9b202d3459b685f Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 25 Jun 2023 09:52:36 -0400 Subject: Initial Commit --- data/prometheus-blackbox-exporter/blackbox.yml | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 data/prometheus-blackbox-exporter/blackbox.yml (limited to 'data/prometheus-blackbox-exporter') diff --git a/data/prometheus-blackbox-exporter/blackbox.yml b/data/prometheus-blackbox-exporter/blackbox.yml new file mode 100644 index 0000000..dd8e615 --- /dev/null +++ b/data/prometheus-blackbox-exporter/blackbox.yml @@ -0,0 +1,62 @@ +modules: + http_2xx: + prober: http + http: + preferred_ip_protocol: "ip4" + http_2xx_noverify: + prober: http + http: + preferred_ip_protocol: "ip4" + tls_config: + insecure_skip_verify: true + http_401_noverify: + prober: http + http: + preferred_ip_protocol: "ip4" + valid_status_codes: 401 + tls_config: + insecure_skip_verify: true + http_post_2xx: + prober: http + http: + method: POST + tcp_connect: + prober: tcp + pop3s_banner: + prober: tcp + tcp: + query_response: + - expect: "^+OK" + tls: true + tls_config: + insecure_skip_verify: false + ssh_banner: + prober: tcp + tcp: + query_response: + - expect: "^SSH-2.0-" + irc_banner: + prober: tcp + tcp: + query_response: + - send: "NICK prober" + - send: "USER prober prober prober :prober" + - expect: "PING :([^ ]+)" + send: "PONG ${1}" + - expect: "^:[^ ]+ 001" + icmp: + prober: icmp + smtp: + prober: tcp + timeout: 15s + tcp: + query_response: + - expect: "^220 ([^ ]+) ESMTP (.+)$" + - send: "QUIT\r" + imaps: + prober: tcp + timeout: 5s + tcp: + tls: true + query_response: + - expect: "OK.*IMAP4rev1" -- cgit v1.2.3