Files
nexus/wiki/entities/Alertmanager.md
2026-04-27 16:26:34 +08:00

53 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Alertmanager"
type: entity
tags: [monitoring, alerting, prometheus, devops]
last_updated: 2026-04-26
---
## Alertmanager — Prometheus 告警分发组件
**官方网址:** https://prometheus.io/docs/alerting/latest/alertmanager/
**类型:** 开源项目 / 告警分发系统
**别名:**
- prometheus-alertmanager
- Alertmanager
---
## Overview
Alertmanager 是 Prometheus 生态中的告警分发组件,负责接收 Prometheus Server 发送的告警进行抑制inhibition、分组grouping处理后路由到邮件、Slack、PagerDuty、webhook 等通知渠道。
**核心功能:**
- **抑制Inhibition** 当某条告警触发时,自动抑制相关联的其他告警
- **分组Grouping** 将相似告警合并为一条通知,减少告警风暴
- **静默Silence** 临时屏蔽特定告警
- **路由Routing** 基于标签匹配将告警路由到不同接收人
**配置格式:** YAML 格式的 `config.yml`
**典型部署:**
- Docker: `prom/alertmanager:latest`
- 端口:`9093`
- Prometheus 配置中通过 `alerting.alertmanagers` 指定 targets
**支持的通知渠道:**
- Email
- Slack
- PagerDuty
- OpsGenie
- WeChat
- Telegram
- Webhook通用 HTTP
---
## Used By
- [[家庭监控方案-prometheus-grafana-node-exporter-cadvisor-blackbox]]
## Related Sources
- [[家庭监控方案-prometheus-grafana-node-exporter-cadvisor-blackbox]]