DingTalk integration for Prometheus Alertmanager
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chilog
cmd/prometheus-webhook-dingtalk Add support to customizable template Dec 21, 2017
examples Add support to customizable template Dec 21, 2017
models
notifier Add support to customizable template Dec 21, 2017
scripts Allow circleci to build artifacts Oct 16, 2017
template Add support to customizable template Dec 21, 2017
vendor
webrouter Quick fix on wrong chi routing Oct 18, 2017
.dockerignore Allow circleci to build artifacts Oct 16, 2017
.editorconfig First commit Oct 16, 2017
.gitignore Allow circleci to build artifacts Oct 16, 2017
.promu.yml Upgrade dep Feb 9, 2018
Dockerfile Add support to customizable template Dec 21, 2017
Gopkg.lock Upgrade dep Feb 9, 2018
Gopkg.toml Upgrade dep Feb 9, 2018
Makefile Add support to customizable template Dec 21, 2017
README.md Fix typo in README Dec 24, 2017
VERSION Bump version: v0.3.0 Dec 21, 2017
circle.yml

README.md

prometheus-webhook-dingtalk

Generating DingTalk notification from Prometheus AlertManager WebHooks.

Building and running

Build

make

Running

./prometheus-webhook-dingtalk <flags>

Usage

usage: prometheus-webhook-dingtalk --ding.profile=DING.PROFILE [<flags>]

Flags:
  -h, --help              Show context-sensitive help (also try --help-long and --help-man).
      --web.listen-address=":8060"
                          The address to listen on for web interface.
      --ding.profile=DING.PROFILE ...
                          Custom DingTalk profile (can be given multiple times, <profile>=<dingtalk-url>).
      --ding.timeout=5s   Timeout for invoking DingTalk webhook.
      --template.file=""  Customized template file (see template/default.tmpl for example)
      --log.level=info    Only log messages with the given severity or above. One of: [debug, info, warn, error]
      --version           Show application version.

Using Docker

You can deploy this tool using the Docker image from following registry: