Sign inSign up

funkypenguin/alertmanager-discord

By funkypenguin

•Updated about 8 years ago

Provides a webhook for Alertmanager messages into a Discord channel (via discord webhook)

Image
0

8.0K

funkypenguin/alertmanager-discord repository overview

geek-cookbook

⁠Contents

  1. What is funkypenguin/alertmanager-discord?⁠
  2. Why should I use this?⁠
  3. How do I use it?⁠
  4. CHANGELOG⁠
  5. Upstream-readme⁠

This container is maintained by Funky Penguin's Geek Cookbook⁠, a collection of "recipes" to run popular applications on Docker Swarm or Kubernetes, in a cheeky, geek format.

Got more details at:


⁠What is funkypenguin/alertmanager-discord ?

⁠Why should I use this?

⁠How do I use this?

⁠CHANGELOG


⁠Upstream README

⁠alertmanager-discord

Give this a webhook (with the DISCORD_WEBHOOK environment variable) and point it as a webhook on alertmanager, and it will post your alerts into a discord channel for you as they trigger:

Example alert manager config:

global:
  # The smarthost and SMTP sender used for mail notifications.
  smtp_smarthost: 'localhost:25'
  smtp_from: '[email protected]'
  smtp_auth_username: 'alertmanager'
  smtp_auth_password: 'password'

# The directory from which notification templates are read.
templates: 
- '/etc/alertmanager/template/*.tmpl'

# The root route on which each incoming alert enters.
route:
  group_by: ['alertname']
  group_wait: 20s
  group_interval: 5m
  repeat_interval: 3h 
  receiver: discord_webhook

receivers:
- name: 'discord_webhook'
  webhook_configs:
  - url: 'http://localhost:9094'

Tag summary

Content type

Image

Digest

Size

2.1 MB

Last updated

about 8 years ago

docker pull funkypenguin/alertmanager-discord