Modify `alertmanager` config to send alerts to webhook.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-12 15:29:30 +09:00
parent d27b979ab0
commit 90c954a1a2
1 changed files with 4 additions and 0 deletions

View File

@ -15,3 +15,7 @@ receivers:
title: "{{ range .Alerts }}{{ .Annotations.summary }}\n{{ end }}"
text: "{{ range .Alerts }}{{ .Annotations.description }}\n{{ end }}"
send_resolved: true
webhook_configs:
- send_resolved: true
url: 'http://localhost:6725'