xmpp-webhook

webhook to xmpp gateway (clone of https://github.com/opthomas-prime/xmpp-webhook/ with my own mods)
git clone https://git.e1e0.net/xmpp-webhook.git
Log | Files | Refs | README | LICENSE

commit 58e0b5a578a4e2f5124bec314f5973b54cc90de6
parent c1cc1bf0c9f3a7d7fce892616bc868bce4de4199
Author: Thomas Maier <contact@thomas-maier.net>
Date:   Tue, 26 Sep 2017 16:43:00 +0200

README draft

Diffstat:
MREADME.md | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -10,7 +10,7 @@ - `XMPP_ID` - The JID we want to use - `XMPP_PASS` - The password - `XMPP_RECEIVERS` - Comma-seperated list of JID's -- After startup, `xmpp-webhooks` tries to connect to the XMPP server and provides the implemented HTTP enpoints (on `:4321`). e.g.: +- After startup, `xmpp-webhook` tries to connect to the XMPP server and provides the implemented HTTP enpoints (on `:4321`). e.g.: ``` curl -X POST -d @grafana-alert.json localhost:4321/grafana @@ -18,7 +18,7 @@ curl -X POST -d @grafana-alert.json localhost:4321/grafana - After parsing the body in the appropriate `parserFunc`, the notification is then distributed to the configured receivers. ## Installation -IMPORTANT NOTE: For the sake of simplicity, `xmpp-webhooks` is not reconnecting to the XMPP server after a connection-loss. If you use the provided `xmpp-webhook.service` - Systemd will manage the reconnect by restarting the service. +IMPORTANT NOTE: For the sake of simplicity, `xmpp-webhook` is not reconnecting to the XMPP server after a connection-loss. If you use the provided `xmpp-webhook.service` - Systemd will manage the reconnect by restarting the service. - Download and extract the latest tarball (GitHub release page) - Install the binary: `install -D -m 744 xmpp-webhook /usr/local/bin/xmpp-webhook` @@ -47,4 +47,4 @@ systemctl start xmpp-webhook - Build `xmpp-webhook`: `go build` ## Need help? -Feel free to contact me :D.- \ No newline at end of file +Feel free to contact me!