{"repo":"TilmannF/teamspeak-prometheus","free":true,"listed":false,"github":"https://github.com/TilmannF/teamspeak-prometheus","clone":"git clone https://github.com/TilmannF/teamspeak-prometheus.git","description":"Teamspeak metrics for Prometheus","language":"Python","stars":10,"topics":["teamspeak","prometheus","prometheus-metrics","docker","grafana-dashboard","metrics"],"license":"MIT","category":"analytics","readme_excerpt":"# teamspeak-prometheus Teamspeak metrics for Prometheus Description The Python script starts an HTTP-server, which exposes the Prometheus metrics & queries a given TS3 server via Teamspeak's ServerQuery procotol at an interval. The metrics provided by Teamspeak aren't convertered and passed as they are. Usage Without Docker Requirements Python 3 PIP Installation 1. Clone this repository 2. cd into the cloned repository 3. Run pip install -r requirements.txt Bonus points: use virtualenv Arguments List all arguments with python -h Name Description Default value --- --- --- --ts3host Hostname or ip address of TS3 server localhost --ts3port Port of TS3 server 10011 --ts3username ServerQuery username of TS3 server serveradmin --ts3password ServerQuery password of TS3 server --metricsport Port on which this service exposes the metrics 8000 Example: python app.py --ts3host example.com --ts3port 12345 --ts3username ExampleUser --ts3password SomePassword --metricsport 8080 With Docker (recommended) Requirements Docker Installation With docker: docker run -d -p 8000:8000 -e TEAMSPEAK HOST='123.123.123.123' -e TEAMSPEAK PASSWORD='example123' tilmannf/teamspeak-prometheus With docker-compose: Environment variables Name Description Default value --- --- --- TEAMSPEAK HOST Hostname or ip address of TS3 server localhost TEAMSPEAK PORT Port of TS3 server 10011 TEAMSPEAK USERNAME ServerQuery username of TS3 server serveradmin TEAMSPEAK PASSWORD ServerQuery password of TS3 server Prometheus co","default_branch":null,"files":null,"tree":[],"storefront":"/r/TilmannF","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TilmannF/teamspeak-prometheus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}