rajamodu / prometheus-msteams-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prometheus-msteams-docker

This repo is based on the code from dockerprom. While original one did not had support for MS Teams, I have added the same using code from prometheus-msteams.

This is also consuming an API health status exporter from api-exporter

In order to send alerts to MS-Teams channel, you need to provide webhook URL of specified channel under prometheus-msteams of compose file. As shown below:

  prometheus-msteams:
    image: docker.io/bzon/prometheus-msteams:v1.1.4
    container_name: prometheus-msteams
    restart: unless-stopped
    environment:
        - TEAMS_INCOMING_WEBHOOK_URL=https://outlook.office.com/webhook/webhook_url
        - TEAMS_REQUEST_URI=alertmanager
    expose:
      - 2000
    networks:
      - monitor-net
    labels:
      org.label-schema.group: "monitoring"

For more details, you can refer to documentation of referenced projects at:

  • Dockerprom - Readme file
  • prometheus-msteams - Readme file
  • api-health-check-exporter-prometheus - Readme file

About

License:MIT License


Languages

Language:Shell 100.0%