Blackbox Post Request SOAP

579 views
Skip to first unread message

Aleksandar Ilic

unread,
Oct 27, 2020, 8:49:20 AM10/27/20
to Prometheus Users
Hello everyone,

I have been trying to configure a blackbox exporter to monitor the status of a web service.

What I currently do is I use postman to send post request http://foo:8080/webservice-unsecrued/service/bar?wsdl and pass the raw XML file also.

I was unable to find any example of how you could set this up so if any could provide me any tips would be very grateful.

Thanks and best regards

Brian Candler

unread,
Oct 27, 2020, 9:37:03 AM10/27/20
to Prometheus Users
You can set the body of the message using the "body" attribute: see the documentation.

I suggest you first get to the point where you're able to use "curl" to send a POST request with the necessary headers and body and get the response you expect.  If postman won't show you the raw request, then you might want to use tcpdump or wireshark to see exactly what postman is sending.

Once you've done that, transforming it to blackbox_exporter configuration should be straightforward.

Aleksandar Ilic

unread,
Oct 27, 2020, 9:42:37 AM10/27/20
to Prometheus Users
Thanks a lot that is what i was looking for.
Reply all
Reply to author
Forward
0 new messages