Open jkroepke opened 1 year ago
I am also interested in this feature :) Is there any plan to implement it or another option to get the logs into stdout?
@rei-ber PR is merged: https://github.com/prometheus/blackbox_exporter/pull/1091
Thanks for implementing :) When do you deploy a new release, which contains this feature?
I'm not a maintainer here, maybe @electron0zero cam give us some details.
it will be in next release but we don't have timeline for next release, in the meantime you can use docker images built from master branch. we publish them here: https://quay.io/repository/prometheus/blackbox-exporter?tab=info
another option is build it from master and use that. building it is fairly easy, see https://github.com/prometheus/blackbox_exporter?tab=readme-ov-file#building-the-software for details.
Host operating system: output of
uname -a
Linux
blackbox_exporter version: output of
blackbox_exporter --version
0.24.0
What is the blackbox.yml module config.
Details
```yaml modules: grpc: prober: grpc http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true grpc: tls: true ip_protocol_fallback: true preferred_ip_protocol: ip4 grpc_plain: prober: grpc http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true grpc: service: service1 ip_protocol_fallback: true http_2xx: prober: http http: preferred_ip_protocol: ip4 ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true http_post_2xx: prober: http http: ip_protocol_fallback: true method: POST follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true icmp: prober: icmp http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true icmp_ttl5: prober: icmp timeout: 5s http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 5 dns: ip_protocol_fallback: true recursion_desired: true irc_banner: prober: tcp http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true query_response: - send: NICK prober - send: USER prober prober prober :prober - expect: PING :([^ ]+) send: PONG ${1} - expect: ^:[^ ]+ 001 icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true pop3s_banner: prober: tcp http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true query_response: - expect: ^+OK tls: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true ssh_banner: prober: tcp http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true query_response: - expect: ^SSH-2.0- - send: SSH-2.0-blackbox-ssh-check icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true tcp_connect: prober: tcp http: ip_protocol_fallback: true follow_redirects: true enable_http2: true tcp: ip_protocol_fallback: true icmp: ip_protocol_fallback: true ttl: 64 dns: ip_protocol_fallback: true recursion_desired: true ```What is the prometheus.yml scrape config.
N/A
I would like to see the logs produced by the probe on the stdout of the containers.
--log.level=error
, the log could be reduiced to a minimum.This avoid the required to make the export web ui Accessable.