On 05.03.21 10:27, Mohamed Boukhlif wrote:
Hi everyone,

I'm getting probe_success 0 but my site is up, any help please.
Here is my config :
(...)

*prometheus.yml*
   - job_name: 'blackbox'
     metrics_path: /probe
     params:
       module: [http_2xx]
     static_configs:
       - targets:
         - https://mywebsite.com
     relabel_configs:
       - source_labels: [__address__]
         target_label: __param_target
       - source_labels: [__param_target]
         target_label: instance
       - target_label: __address__
         replacement: blackbox:9115


Hi Mohamed

please add &debug=true to the probe URL, for example http://localhost:9115/probe?module=http_2xx&target=https://mywebsite.com/&debug=true and post the result here.

kind regards
Evelyn

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/a4f31fc0-c69a-4038-68a5-b031989d7841%40disroot.org.

Attachment: OpenPGP_0x61776FA8E38403FB.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to