prometheus/templates/conf/prometheus-blackbox-exporter.j2

38 lines
728 B
Plaintext
Raw Normal View History

2021-11-02 15:51:47 +01:00
modules:
http_2xx:
prober: http
timeout: 30s
http:
preferred_ip_protocol: "ipv4"
http_post_2xx:
prober: http
http:
preferred_ip_protocol: "ipv4"
method: POST
tcp_connect:
prober: tcp
pop3s_banner:
prober: tcp
tcp:
query_response:
- expect: "^+OK"
tls: true
tls_config:
insecure_skip_verify: false
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
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