forked from cloudalchemy/ansible-blackbox-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
63 lines (59 loc) · 1.29 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
blackbox_exporter_version: 0.12.0
blackbox_exporter_root_dir: "/opt/blackbox_exporter"
blackbox_exporter_web_listen_address: "0.0.0.0:9115"
blackbox_exporter_cli_flags: {}
# blackbox_exporter_cli_flags:
# log.level: "warn"
blackbox_exporter_configuration_modules:
http_2xx:
prober: http
timeout: 5s
http:
# http_post_2xx:
# prober: http
# timeout: 5s
# http:
# method: POST
# basic_auth:
# username: "username"
# password: "mysecret"
# tcp_connect:
# prober: tcp
# timeout: 5s
# pop3s_banner:
# prober: tcp
# tcp:
# query_response:
# - expect: "^+OK"
# tls: true
# tls_config:
# insecure_skip_verify: false
# ssh_banner:
# prober: tcp
# timeout: 5s
# tcp:
# query_response:
# - expect: "^SSH-2.0-"
# irc_banner:
# prober: tcp
# timeout: 5s
# tcp:
# query_response:
# - send: "NICK prober"
# - send: "USER prober prober prober :prober"
# - expect: "PING :([^ ]+)"
# send: "PONG ${1}"
# - expect: "^:[^ ]+ 001"
# icmp_test:
# prober: icmp
# timeout: 5s
# icmp:
# preferred_ip_protocol: ip4
# dns_test:
# prober: dns
# timeout: 5s
# dns:
# preferred_ip_protocol: ip6
# validate_answer_rrs:
# fail_if_matches_regexp: [test]