mirror of
https://github.com/prometheus/alertmanager.git
synced 2026-02-07 03:46:38 +01:00
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
|