alertmanager-webhook-template

command module
v0.0.0-...-21e3460 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

alertmanager-webhook-template

Build Status

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL