Skip to content

rtgnx/am-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alert Manager Discord Plugin

Build Status

version: '3.8'
services:
  image: 'rtgnx9/am-discord'
  environment:
    DISCORD_WEBHOOK: ${DISCORD_WEBHOOK}

Alert Manager Config

  global:
    # The smarthost and SMTP sender used for mail notifications.
    smtp_smarthost: 'localhost:25'
    smtp_from: ''
    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://am-discord:9094'

About

Alertmanager discord forwarder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published