Add blackbox configuration: define modules for HTTP, TCP, SSH, and ICMP probing

This commit is contained in:
2025-08-24 19:46:55 +03:00
parent 6bd1abb504
commit 1e8842444d

27
blackbox/blackbox.yaml Normal file
View File

@@ -0,0 +1,27 @@
modules:
http_2xx:
prober: http
http:
preferred_ip_protocol: "ip4"
tcp_connect:
prober: tcp
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
- send: "SSH-2.0-blackbox-ssh-check"
icmp:
prober: icmp
icmp_ttl5:
prober: icmp
timeout: 5s
icmp:
ttl: 5
http_3xx:
prober: http
http:
preferred_ip_protocol: "ip4"
enable_http3: true
enable_http2: false
valid_http_versions: ["HTTP/3.0"]