alertmanager-webhook-template

The alertmanager-webhook-template is a basic Prometheus AlertManager webhook receiver template.
The goal of this project is to provide a minimal start point from which any webhook receiver may start.
It contains a very minimal set of features common to any webhook receiver
Getting Started
In summary, copy this project's code to get your webhook receiver started.
Prerequisites
To run this project, you will need a working Go environment.
Installing
go get -u github.com/FXinnovation/alertmanager-webhook-template
Running the tests
make test
Usage
./alertmanager-webhook-template -h
Deployment
The template listen on port 9876 by default, be sure to change that port in order to suit your new receiver needs.
Docker image
You can build a docker image using:
make docker
The resulting image is named fxinnovation/alertmanager-webhook-template:{git-branch}
.
It exposes port 9876. To configure it, run:
$ docker run -p 9876 fxinnovation/alertmanager-webhook-template:master
Contributing
Refer to CONTRIBUTING.md.
License
Apache License 2.0, see LICENSE.