Commit 3554ea1b authored by moritz.weichert's avatar moritz.weichert

Moved alertmanager to slack

parent b81fff3e
global:
slack_api_url: https://hooks.slack.com/services/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
route:
receiver: pushover_receiver
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
group_by: [cluster, alertname]
receiver: 'slack'
receivers:
- name: pushover_receiver
- name: 'slack'
slack_configs:
- username: 'Prometheus'
channel: '#techtalk-prom-demo'
text: "<!channel> \n {{ range .Alerts}}summary: {{ .Annotations.summary }}\n description: {{ .Annotations.description }} \n\n{{ end }}"
- name: 'pushover'
pushover_configs:
- user_key: uq2igmdbjbpz5ay2n4mc1ry7djs8yz
token: ay4yuv58m9k9c11qvbbpqmpawfyko6
- token: ay4yuv58m9k9c11qvbbpqmpawfyko6
user_key: uq2igmdbjbpz5ay2n4mc1ry7djs8yz
title: Hi
message: HiHi
url: http://localhost:9093
......@@ -19,7 +19,8 @@ scrape_configs:
alerting:
alertmanagers:
- static_configs:
- scheme: http
static_configs:
- targets: ["alertmanager:9093"]
rule_files:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment