grafana-xmpp-webhook

command module
v0.0.0-...-e6f4df3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 14 Imported by: 0

README

Grafana XMPP Webhook

Publish Docker image

Why do I need it?

You probably need this, if you want to send alerts from Grafana to XMPP MUC room

Features

  • Send alerts to XMPP MUC room (it's the only option for now)
  • Alerts templating (using go-templates)
  • Single static binary, ~4MB compressed image size

Configuration

See example: config.toml

docker-compose.yml
version: '3.3'

networks:
  monitoring:
    driver: bridge

services:
  xmpp-webhook:
    image: h5vx/grafana-xmpp-webhook:latest
    container_name: xmpp-webhook
    volumes:
      - ./config.toml:/config.toml
    restart: unless-stopped
    networks:
      - monitoring

  grafana:
    image: grafana/grafana:latest
    # ...
    networks:
      - monitoring

That way, you can add contact point in Grafana as Type: Webhook, Url: http://xmpp-webhook/alert

Contribution

Issues, feature requests and other contributions are welcome!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL