diff options
Diffstat (limited to 'data/prometheus-blackbox-exporter')
-rw-r--r-- | data/prometheus-blackbox-exporter/blackbox.yml | 62 |
1 files changed, 62 insertions, 0 deletions
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 @@ | |||
1 | modules: | ||
2 | http_2xx: | ||
3 | prober: http | ||
4 | http: | ||
5 | preferred_ip_protocol: "ip4" | ||
6 | http_2xx_noverify: | ||
7 | prober: http | ||
8 | http: | ||
9 | preferred_ip_protocol: "ip4" | ||
10 | tls_config: | ||
11 | insecure_skip_verify: true | ||
12 | http_401_noverify: | ||
13 | prober: http | ||
14 | http: | ||
15 | preferred_ip_protocol: "ip4" | ||
16 | valid_status_codes: 401 | ||
17 | tls_config: | ||
18 | insecure_skip_verify: true | ||
19 | http_post_2xx: | ||
20 | prober: http | ||
21 | http: | ||
22 | method: POST | ||
23 | tcp_connect: | ||
24 | prober: tcp | ||
25 | pop3s_banner: | ||
26 | prober: tcp | ||
27 | tcp: | ||
28 | query_response: | ||
29 | - expect: "^+OK" | ||
30 | tls: true | ||
31 | tls_config: | ||
32 | insecure_skip_verify: false | ||
33 | ssh_banner: | ||
34 | prober: tcp | ||
35 | tcp: | ||
36 | query_response: | ||
37 | - expect: "^SSH-2.0-" | ||
38 | irc_banner: | ||
39 | prober: tcp | ||
40 | tcp: | ||
41 | query_response: | ||
42 | - send: "NICK prober" | ||
43 | - send: "USER prober prober prober :prober" | ||
44 | - expect: "PING :([^ ]+)" | ||
45 | send: "PONG ${1}" | ||
46 | - expect: "^:[^ ]+ 001" | ||
47 | icmp: | ||
48 | prober: icmp | ||
49 | smtp: | ||
50 | prober: tcp | ||
51 | timeout: 15s | ||
52 | tcp: | ||
53 | query_response: | ||
54 | - expect: "^220 ([^ ]+) ESMTP (.+)$" | ||
55 | - send: "QUIT\r" | ||
56 | imaps: | ||
57 | prober: tcp | ||
58 | timeout: 5s | ||
59 | tcp: | ||
60 | tls: true | ||
61 | query_response: | ||
62 | - expect: "OK.*IMAP4rev1" | ||