Alertmanager
provides you with alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, web hooks, ... It also takes care of silencing and inhibition of alerts.
Links#
- Docs: https://prometheus.io/docs/alerting/latest/configuration/
- Issues: https://github.com/prometheus/alertmanager/issues
- Source: https://github.com/prometheus/alertmanager
- License: Apache-2.0
Config Files#
| Name | Default | Type | Description |
|---|---|---|---|
ALLOW_FROM | TODO | /^<IP>\/[0-9]+$/ | Federation address/CIDR; space separated |
LISTEN | TODO | /<IP>/ | Listen address |
MAIL_FROM | TODO | /.*@.*/ | Alert sender address; default: from from msmtprc |
MAIL_HOST | TODO | /^.*:[0-9]+$/ | Alert SMTP HOSTNAME:PORT; default: host from msmtprc |
MAIL_TO | TODO | /.*@.*/ | Alert Receiver; default: alerts from aliases |
MAIL_USER | TODO | /.*@.*/ | Alert SMTP user; default: user from msmtprc |
PORT | TODO | /[1-9][0-9][0-9][0-9]+/ | Listen port |
SHA256 | TODO | /^[0-9a-f]+$/ | SHA256sum of sha256sums.txt |
VERSION | TODO | /^[0-9.]+$/ | application version |
WWW_PREFIX | TODO | /\/.*/ | External URL PREFIX; default: / |
WWW_URL | TODO | /^http.*/ | External URL; default: FQHN |
Use#
TODO
- connect multiple instances
- check
- file: mail.pw.pass
- support ARCH
- requires execution on msmtp changes
