problems in configuring prom2teams

30 views
Skip to first unread message

Isabel Noronha

unread,
Apr 20, 2020, 6:35:40 AM4/20/20
to Prometheus Users
Hi
I'm facing problem in configuring prom2 teams 
I am running all the services using docker-compose.

docker-compose.yml

prom2teams:

   image: idealista/prom2teams

   hostname: prom2teams

   ports:

   - "8089:8089"

   environment:

     - PROM2TEAMS_CONNECTOR= https://outlook.office.com/webhook/XXXXXXXX/IncomingWebhook/XXXXXXXX


Alert manager config.yml

global:

 resolve_timeout: 1m

 

route:

 receiver: notification

receivers:

- name: 'prometheus-msteams'

  webhook_configs:

  - send_resolved: true

  - url: 'http://X.X.X.X:8089/https://outlook.office.com/webhook/XXXXXXXXX/IncomingWebhook/XXXXXXXXX'



Stuart Clark

unread,
Apr 20, 2020, 6:37:43 AM4/20/20
to Isabel Noronha, Prometheus Users
The URL should contain the name of the connector, not the Teams URL. By
default that is "Connector".

--
Stuart Clark

Isabel Noronha

unread,
Apr 21, 2020, 12:57:24 AM4/21/20
to Prometheus Users
Thank you! 
It worked!
Reply all
Reply to author
Forward
0 new messages