「Alertmanager」- Prometheus 的告警发送工具

问题描述

我们将学习 Alertmanager 的使用方法,并整理学习笔记,学习资料以官方文档为主,辅以其他网络资料。

该笔记将记录:Alertmanager 的使用方法,其主要内容是对官方文档的学习、记录、整理,还包含部分常用配置示例。

解决方案

针对该部分内容,其均来自于官方文档,但仅提取出我们需要关注的内容,能让我们形成对 Alertmanger 的整体认识。
子章节将记录如何使用 Alertmanager 完成具体的工作任务,比如 配置 Slack 告警、定制告警消息格式。

ALERTING
— Alerting overview: Concepts and Fundamentals
— Alertmanager: Concepts and Fundamentals
— Configuration: Maintenance, Administration
— Clients: ALERTING.Clients
— Notification template reference: Notification Template
— Notification template examples: Notification Template
— Management API: Maintenance, Administration
— HTTPS and authentication: Maintenance, Administration

相关链接

Awesome Prometheus alerts | Collection of alerting rules

参考文献

How to check your prometheus.yml is valid – Robust Perception | Prometheus Monitoring Experts
How do I configure the log level of Prometheus’ Alertmanager? – Server Fault
alertmanager/simple.yml at master · prometheus/alertmanager
What’s the difference between group_interval, group_wait, and repeat_interval? – Robust Perception | Prometheus Monitoring Experts
Prometheus: understanding the delays on alerting