blackbox-exporter-container/blackbox.yml

66 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-11-01 14:40:49 +02:00
modules:
http_2xx:
prober: http
http_2xx_3xx_403:
prober: http
http:
valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
valid_status_codes: [ 200, 204, 301,302,307,308,403]
no_follow_redirects: false
http_post_2xx:
prober: http
http:
method: POST
tcp_connect:
prober: tcp
tcp:
preferred_ip_protocol: "ip4"
pop3s_banner:
prober: tcp
tcp:
query_response:
- expect: "^+OK"
tls: true
tls_config:
insecure_skip_verify: false
grpc:
prober: grpc
grpc:
tls: true
preferred_ip_protocol: "ip4"
grpc_plain:
prober: grpc
grpc:
tls: false
service: "service1"
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
- send: "SSH-2.0-blackbox-ssh-check"
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
icmp_ttl5:
prober: icmp
timeout: 5s
icmp:
ttl: 5
tcp_connect_tls:
prober: tcp
tcp:
tls: true
preferred_ip_protocol: "ip4"