mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-25 15:42:18 +00:00
26b6eac6e1
This add a Procfile that can be run with `goreman start`. It starts three Alertmanagers and one webhook receiver. The webhook receiver simply reflects sent messages. The send_alerts.sh script simulates a set of alerts sent by a Prometheus server to all Alertmanagers at once.
6 lines
727 B
Plaintext
6 lines
727 B
Plaintext
a1: ./alertmanager -log.level=debug -storage.path=$TMPDIR/a1 -web.listen-address=:9093 -mesh.hardware-address=00:00:00:00:00:01 -mesh.nickname=a -mesh.listen-address=:8001 -config.file=examples/ha/alertmanager.yaml
|
|
a2: ./alertmanager -log.level=debug -storage.path=$TMPDIR/a2 -web.listen-address=:9094 -mesh.hardware-address=00:00:00:00:00:02 -mesh.nickname=b -mesh.listen-address=:8002 -mesh.peer=127.0.0.1:8001 -config.file=examples/ha/alertmanager.yaml
|
|
a3: ./alertmanager -log.level=debug -storage.path=$TMPDIR/a3 -web.listen-address=:9095 -mesh.hardware-address=00:00:00:00:00:03 -mesh.nickname=c -mesh.listen-address=:8003 -mesh.peer=127.0.0.1:8001 -config.file=examples/ha/alertmanager.yaml
|
|
wh: ./examples/ha/webhook.py
|
|
|