Hey Nick, How do you mean "nothing seems to take"?
If you have an alert that is firing to alertmanager and failing, I would wager there is some useful information in the Prometheus logs. Best, Ian On Tue, Aug 17, 2021 at 7:53 AM Nick M <[email protected]> wrote: > Hi, > > We have an existing alertmanager instance set up running within an OKD > (openshift) cluster. This instance is behind an oauth2 proxy. Is it > possible to configure prometheus to forward alerts to an alertmanager > instance behind the oauth2 proxy? > > I've tried every conceivable combination of configuration to get this to > work but nothing seems to take. > > Current configuration: > > alerting: > alertmanagers: > - static_configs: > - targets: > - okd_route_to_alertmanager > scheme: https > tls_config: ca_file: /path/to/custom/ca_file > server_name: okd_route_to_alertmanager > insecure_skip_verify: true > oauth2: > client_id: <id> > client_secret: <secret> > token_url: <oauth-proxy/oauth/token/request> > > It's very possible I've misunderstood something as the documentation for > this feels very light. > > Has anyone got this working or have any pointers for what I've done wrong? > > Thanks > Nick M > > -- > 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/2f82a033-8b22-4f1d-b16e-b0d965e545afn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/2f82a033-8b22-4f1d-b16e-b0d965e545afn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CADoMBNVqgM41KpPKGcAcA7556b4VSR617t_-MhLMN59MWW8r2g%40mail.gmail.com.

