Alerts to office messenger(communicator)

33 views
Skip to first unread message

MK

unread,
Apr 20, 2021, 9:11:01 AM4/20/21
to Prometheus Users
Hello team,

Currently from Prometheus we are getting notification to our mail box and slack channel as well.

Now in place of slack we are going to use our office communicator. So is it possible to enable the alerts to our office communicator?

Our office communicator supports the web service to make use of rest api calls.

If yes please let me know how i can achieve this?


Stuart Clark

unread,
Apr 20, 2021, 10:01:09 AM4/20/21
to MK, Prometheus Users
Take a look at the webhook reciever. Then you'd need an application to
receive the webhook messages and send them to your office communicator.
There might already be such an application if it is a common system (for
example there is one for MS Teams). If not, it would be a case of
calling the correct APIs with the details sent as part of the webhook
call.

--
Stuart Clark

Mohan

unread,
Apr 20, 2021, 10:35:42 AM4/20/21
to Stuart Clark, Prometheus Users
Hi Stuart, Thanks for the information.

We have internal web server that supports SOAP post method to recieve and send the message to communicator group. Will this would be sufficient?

Stuart Clark

unread,
Apr 20, 2021, 11:11:05 AM4/20/21
to Mohan, Prometheus Users
On 2021-04-20 15:35, Mohan wrote:
> Hi Stuart, Thanks for the information.
>
> We have internal web server that supports SOAP post method to recieve
> and send the message to communicator group. Will this would be
> sufficient?
>

You need something which accepts the webhook calls (the details of what
the web requeat looks like can be seen here:
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config)
and then does whatever is needed to distribute the alert to your
communicator group.

It could be hosted on that internal web server if wanted, and can be
written in whichever programming language you wish.

One thing to think of however is that an outage with that web server
would cause alerts to stop appearing - so make sure you have things
correctly monitored & a correct level of High Availability/isolation as
needed.

--
Stuart Clark

MK

unread,
Apr 20, 2021, 10:38:38 PM4/20/21
to Prometheus Users
Thanks a lot Stuart for the valuable information.
Reply all
Reply to author
Forward
0 new messages