Multipurpose XMPP-Webhook : Grafana Webhook alerts Alertmanager Webhooks Slack Incoming Webhooks
 
 
 
Go to file
Thomas Maier f2bb1c2f0b README WiP 2017-09-26 16:12:07 +02:00
.gitignore README wiP 2017-09-26 16:11:33 +02:00
Gopkg.toml adds vendoring 2017-09-26 15:34:48 +02:00
LICENSE Initial commit 2017-09-24 13:57:48 +02:00
README.md README WiP 2017-09-26 16:12:07 +02:00
THIRD-PARTY-NOTICES Create THIRD-PARTY-NOTICES 2017-09-26 15:47:28 +02:00
handler.go new grafana alert formatting 2017-09-26 15:03:46 +02:00
main.go refactoring 2017-09-26 14:39:19 +02:00
xmpp-webhook.service adds systemd service file 2017-09-26 15:10:33 +02:00

README.md

xmpp-webhook

Status

xmpp-webhook currently only provides a hook for Grafana. I will implement a parserFunc for Prometheus ASAP. Check https://github.com/opthomas-prime/xmpp-webhook/blob/master/handler.go to learn how to support more source services.

Usage

  • xmpp-webhook is configured via environment variables:
    • XMPP_ID
    • XMPP_PAS
    • XMPP_RECEIVERS
XMPP_ID='bot@example.com'
XMPP_PASS='passw0rd'
XMPP_RECEIVERS='jdoe@example.com,ops@example.com'

/etc/systemd/system/xmpp-webhook.service

https://github.com/golang/dep
go get -u github.com/golang/dep/cmd/dep