Configuring alert receivers

A receiver is nothing more than a fancy way of referring to a collection of notification integrations that can send out alerts through various channels. Out of the box, the Alertmanager supports the following integrations:

  • Email: Send out an email with alert details
  • Slack/Hipchat/WeChat: Post alert details to a chat service
  • PagerDuty/Opsgenie/VictorOps: Send a page notification to the SRE currently on call
  • WebHooks: An escape hatch for implementing custom integrations

When the Alertmanager loads its configuration file, it looks for the list of receiver definitions under the top-level receivers key. Each receiver block must adhere to the following schema:

Get Hands-On Software Engineering with Golang now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.