Add blackbox configuration: define modules for HTTP, TCP, SSH, and ICMP probing
This commit is contained in:
27
blackbox/blackbox.yaml
Normal file
27
blackbox/blackbox.yaml
Normal 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"]
|
Reference in New Issue
Block a user