Thanks Chritian, You re right. I missed.
I followed that https://www.sethryder.com/blackbox-exporter-accessing-multiple-modules-and-targets-with-a-single-job/ but I missed: * - source_labels: [module]* *target_label: __param_module * in my prometheus.yml * - job_name : 'clients'* * metrics_path: /probe* * scrape_interval: 30s* * file_sd_configs:* * - files:* * - '/etc/prometheus/targets/*.yml'* * relabel_configs:* * - source_labels: [__address__]* * target_label: __param_target* * - source_labels: [module]* * target_label: __param_module* * - source_labels: [__param_target]* * target_label: instance* * - target_label: __address__* * replacement: xx.xx.202.179:9115 # The blackbox exporter's real hostname:port.* Thanks again. On Tuesday, July 14, 2020 at 8:14:48 PM UTC+3 Christian Hoffmann wrote: > Hi, > > On 7/14/20 11:17 AM, Yusuf Dönmez wrote: > [...] > > - source_labels: [__address__] > > target_label: __param_target > > - source_labels: [__param_target] > > target_label: instance > > - target_label: __address__ > > replacement: > [...] > > - labels: > > module: magento1_x > > targets: > > - 'https://www._client_host_.com/api/v2_soap/' > > The only thing I notice immediately is that you seem to set a label > which is identical to your blackbox_exporter module (module=magento1_x), > but I suspect that it is not passed to blackbox_exporter. Can you > confirm via the targets on the Prometheus Web UI? I suspect there is no > module=magento1_x. > > If you don't need the module as a label in your metrics, I simply > suggest to change it to __param_module: magento1_x so that it is used > internally only. > > If you do need it, I suggest adding a relabeling rule which copies the > value of the module label into the __param_module special label. > > > If this is not the case, I could only suspect some problem with quoting > or some other headers. A tcpdump would help, but only if you are able to > run this without TLS or are able to intercept it some how (mitmproxy or > Wireshark + TLS secret capturing via LD_PRELOAD or something). You could > also hack up blackbox_exporter to output the relevant headers if possible. > > As far as I can see, the existing debug methods do not cover it. > > I guess you've already tried what's listed here: > > https://www.robustperception.io/debugging-blackbox-exporter-failures > > Kind regards, > Christian > -- 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/09c934a4-d408-433e-800b-7a2a1abccd59n%40googlegroups.com.

