You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use the module http_2xx to get the ssl Certificate expire time,I found my domain use the cdn and cname ,it can not get the probe_ssl_earliest_cert_expiry 。
For questions/help/support please use our community channels. There are more people available to potentially respond to your request and the whole community can benefit from the answers provided.
when I use the module http_2xx to get the ssl Certificate expire time,I found my domain use the cdn and cname ,it can not get the probe_ssl_earliest_cert_expiry 。
my blacbox_exporter config:
modules: http_2xx: prober: http http: preferred_ip_protocol: "ip4" http_post_2xx: prober: http http: method: POST tcp_connect: prober: tcp 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
my prometheus config:
`global:
external_labels:
monitor: prometheus
scrape_configs:
metrics_path: /probe
params:
module: ['http_2xx']
static_configs:
relabel_configs:
target_label: __param_target
target_label: instance
replacement: blackbox:9115
kubernetes_sd_configs:
namespaces:
names:
- monitor
metrics_path: /metrics
relabel_configs:
target_label: __tmp_prometheus_job_name
source_labels:
regex: (server);true
source_labels:
regex: (prometheus);true
source_labels:
regex: (prometheus);true
source_labels:
regex: http
separator: ;
regex: Node;(.*)
replacement: ${1}
target_label: node
separator: ;
regex: Pod;(.*)
replacement: ${1}
target_label: pod
target_label: namespace
target_label: service
target_label: pod
target_label: container
source_labels:
regex: (Failed|Succeeded)
target_label: job
replacement: ${1}
replacement: http
target_label: __tmp_hash
modulus: 1
action: hashmod
regex: 0
action: keep
kubernetes_sd_configs:
namespaces:
names:
- monitor
metrics_path: /metrics
relabel_configs:
target_label: __tmp_prometheus_job_name
source_labels:
regex: (alertmanager);true
source_labels:
regex: (prometheus);true
source_labels:
regex: (prometheus);true
source_labels:
regex: http
separator: ;
regex: Node;(.*)
replacement: ${1}
target_label: node
separator: ;
regex: Pod;(.*)
replacement: ${1}
target_label: pod
target_label: namespace
target_label: service
target_label: pod
target_label: container
source_labels:
regex: (Failed|Succeeded)
target_label: job
replacement: ${1}
replacement: http
target_label: __tmp_hash
modulus: 1
action: hashmod
regex: 0
action: keep
alerting:
alertmanagers:
static_configs:
rule_files:
The text was updated successfully, but these errors were encountered: