alertmanager-to-zmq

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 7 Imported by: 0

README

Prometheus Alertmanager to ZMQ Build Status Docker Repository on Quay

This program receives HTTP messages from a prometheus alertmanager and proxies those messages to a ZMQ socket.

./alertmanager-to-zmq --help
Usage of ./alertmanager-to-zmq:
  -addr string
        address to listen for webhook (default ":9098")
  -endpoint string
        default http endpoint for alertmanager (default "/alerts")
  -publisher string
        address fot the publish socket (default "tcp://*:5563")
  -topic string
        default zmq topic to publish hook messages (default "alerts")

Example prometheus alertmanager configuration:

route:
  receiver: webhook
  group_wait: 0s
  group_interval: 1s
  repeat_interval: 1s

receivers:
- name: "webhook"
  webhook_configs:
  - url: http://localhost:9098/alerts

Check the example_client directory for further examples.

Alternatively a Dockerfile and image are supplied

docker run -p 9180:9180 quay.io/niedbalski/alertmanager-to-zmq:v0.0.1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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