Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jain-neeeraj/prometheus-msteams-docker
https://github.com/jain-neeeraj/prometheus-msteams-docker
ms-teams prometheus prometheus-alertmanager prometheus-msteams
Last synced: about 20 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jain-neeeraj/prometheus-msteams-docker
- Owner: jain-neeeraj
- License: mit
- Created: 2019-12-04T09:23:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-04T09:50:42.000Z (almost 5 years ago)
- Last Synced: 2023-04-13T11:40:52.379Z (over 1 year ago)
- Topics: ms-teams, prometheus, prometheus-alertmanager, prometheus-msteams
- Language: Shell
- Size: 818 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
prometheus-msteams-docker
=================================================
This repo is based on the code from [dockerprom](https://github.com/stefanprodan/dockprom). While original one did not had support for MS Teams, I have added the same using code from [prometheus-msteams](https://github.com/bzon/prometheus-msteams).This is also consuming an API health status exporter from [api-exporter](https://github.com/jain-neeeraj/api-health-check-exporter-prometheus)
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](https://github.com/stefanprodan/dockprom/blob/master/README.md)
- prometheus-msteams - [Readme file](https://github.com/bzon/prometheus-msteams/blob/master/README.md)
- api-health-check-exporter-prometheus - [Readme file]([https://github.com/jain-neeeraj/api-health-check-exporter-prometheus](https://github.com/jain-neeeraj/api-health-check-exporter-prometheus))