mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-28 17:12:13 +00:00
25e4bb9965
This is similar to `promtool check-config` and allows one to validate the alertmanager configuration (as a git presubmit for example). `govendor fetch github.com/spf13/{cobra,pflag}` was needed to have support for `Args`.
12 lines
151 B
YAML
12 lines
151 B
YAML
global:
|
|
smtp_smarthost: 'localhost:25'
|
|
|
|
templates:
|
|
- '/etc/alertmanager/template/*.tmpl'
|
|
|
|
route:
|
|
receiver: default
|
|
|
|
receivers:
|
|
- name: default
|