I don't have much knowledge of Zoom bots (assuming you're talking
about this [1]). But the general rule for using the webhook notifier
is that you run an intermediate service close to AlertManager that
receives the webhook payload from AlertManager and translates it into
something that your end system will understand.
[1] https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-chatbot-app
On Tue, Jul 2, 2019 at 9:29 AM Yordan Yordanov <yordan...@gmail.com> wrote:
>
> Hello, I've already asked the question in Stack overflow, so I'm attaching the link. Any help will be much appreciated. Thanks.
>
> https://stackoverflow.com/questions/56774455/connecting-prometheus-alertmanager-with-zoom-via-an-incoming-webhook
>
> --
> 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 promethe...@googlegroups.com.
Thanks! I understand better now: you want to pass the raw JSON payload
from the webhook receiver to the Zoom chatbot as it doesn't seem to
mandate a particular format.
Unfortunately HTTP-based receivers such as the web hook only support
standard auth methods: basic auth, bearer token and TLS client auth.
Allowing arbitrary values for the Authorization header has already
been discussed in the past [2], the conclusion so far has been that we
wanted to support only authentication schemes that are standard [3].
In all cases, a custom integration with Zoom is still needed if you
want customized messages.
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#Authentication_schemes
[2] https://github.com/prometheus/common/issues/140
https://github.com/prometheus/common/pull/152
https://github.com/prometheus/prometheus/issues/5107
[3] https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
On Thu, Jul 4, 2019 at 8:45 AM Yordan Yordanov <yordan...@gmail.com> wrote:
>
>
>
> Here are the docs for Zoom IncomingWebhook - https://zoomappdocs.docs.stoplight.io/incoming-webhook-chatbot
>
> --
> 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 promethe...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/cefb19eb-fd44-4c33-974f-9fbefb64c6a4%40googlegroups.com.