Skip to content

ichthyx/SimpleGXWEBHOOK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleGXWEBHOOK

Simple and Dumb Grafana webhook with aiohttp for XMPP with Slixmpp

TODO

  • Test: Reconnect
  • Test: Presence bug
  • Support OMEMO
  • Gunicorns threads
  • Json validation ? (No doc about which fields can be null...)

Launch :

grafana-webhook.py -h for help

Theses variables can be environment variables :

  • JID
  • PASSWORD
  • RECIPIENT
  • PORT
  • BINDADDRESS

Install with Ansible (example):

ANSIBLE_NOCOWS=1 ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook \
-i '192.168.178.79,' \
-u myuser \
--ask-become-pass --ask-pass \
--become-method="sudo" \
-e 'ansible_python_interpreter=/usr/bin/python3' \
provisioning/install.yml