Thank you very much! On Friday, September 4, 2020 at 10:01:50 PM UTC+3 [email protected] wrote:
> On Friday, 4 September 2020 19:39:14 UTC+1, Nina Sc wrote: >> >> Assume that I've API which I need to probe via blackboxexporter, is there >> a way to use >> Any auth with the call, lets assume I call to an URL which require user >> and password or some OAuth , is it possible? if yes please provide a >> referance and if not is there any other option to to so as I assume this is >> some basic requirement . >> > > blackbox exporter can do basic auth, bearer token and TLS client > certificate authentication. See: > https://github.com/prometheus/blackbox_exporter/blob/master/example.yml#L46 > > https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md#http_probe > > <https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md#http_probe> > > I don't believe that it will do the OAuth dance for you (of which there > are many variations anyway). One option is to write a script and run it > from exporter_exporter > <https://github.com/QubitProducts/exporter_exporter#configuration>. > -- 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/fd2011a2-292a-4d96-90af-b96375bfbbe0n%40googlegroups.com.

