commit 5c057a4e9584aadcc59fdcccc6a51ba06da3ed33 parent 93bcbb907e416adf8f1f7cdd1eb333ebe577cb7c Author: Thomas Maier <contact@thomas-maier.net> Date: Tue, 26 Sep 2017 16:11:20 +0200 README wiP Diffstat:
M | .gitignore | | | 1 | + |
M | README.md | | | 12 | ++++++++++-- |
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -2,3 +2,4 @@ debug vendor Gopkg.lock +xmpp-webhook diff --git a/README.md b/README.md @@ -1,8 +1,16 @@ # xmpp-webhook -Multipurpose XMPP Webhook (Built for Prometheus/Grafana Alerts) +- Multipurpose XMPP Webhook (Built for Prometheus/Grafana Alerts) +- Based on [](https://github.com/atomatt/go-xmpp) +## 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. -some notes for later +## Usage +- `xmpp-webhook` is configured via environment variables: + - `XMPP_ID` + - `XMPP_PAS` + - `XMPP_RECEIVERS` +- ``` XMPP_ID='bot@example.com'