Firstly, your curl data includes "NO_XX":"317502141012" but your blackbox 
body has "NXK" twice (which is invalid JSON).

Secondly, run curl with -v so you can see the response code.  It's possible 
that the response code is 400 even when you get the answer you expect.

Thirdly, if that still doesn't solve the problem, then run tcpdump to 
capture the traffic, and compare what curl is sending with what 
blackbox_exporter is sending.

tcpdump -i eth0 -nn -s0 -A host 1x.1xx.7x.x and tcp port 48002

(ignore all the binary data from packet headers, and just look at the HTTP 
request from POST onwards).  Note also that you can test blackbox_exporter 
without prometheus:

curl -vg 
'xxxxxosb04:9115/probe?target=http%3A%2F%2F1x.1xx.7x.x%3A48002%2Fdukil%2Fget_json%2Fisat%2Fcall_nik&module=http_post_2xx'

-- 
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/7f827a4a-047f-441b-b0a8-4115dda46f06o%40googlegroups.com.

Reply via email to