2016-05-24 04:37:51 +02:00
|
|
|
# prometheus-mumble
|
|
|
|
A simple interface to gather statistics from mumble
|
2016-05-25 17:27:16 +02:00
|
|
|
|
|
|
|
## Install
|
|
|
|
You can run this in a virtual env or build with pants.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ pants binary src:mumble-prometheus
|
|
|
|
$ dist/mumble-prometheus.pex --host 127.0.0.1 --port 6502 --listen 9123 --secret=ice_secret
|
|
|
|
```
|
2024-01-24 09:18:28 +01:00
|
|
|
|
|
|
|
### Debian Prerequisites
|
|
|
|
|
|
|
|
I needed to install these:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo apt install libbz2-dev libssl-dev python3.11-dev build-essential
|
|
|
|
```
|
|
|
|
|
|
|
|
To regenerate the Mumble ICE client, I did need to install the ZeroC ICE
|
|
|
|
Python package:
|
|
|
|
```shell
|
|
|
|
sudo mkdir -p /etc/apt/keyrings
|
|
|
|
curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
|
|
|
|
echo'deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian12 stable main' | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install python3-zeroc-ice
|
|
|
|
```
|
|
|
|
|
|
|
|
## Further Information
|
|
|
|
|
|
|
|
See the page about [ICE](https://wiki.mumble.info/wiki/Ice) at the Mumble
|
|
|
|
wiki; it also includes detailed information about the PHP and Python
|
|
|
|
clients, including how to update the client.
|
2024-01-24 09:19:52 +01:00
|
|
|
|
|
|
|
```shell
|
|
|
|
cd src
|
|
|
|
slice2py --checksum -I/usr/local/share/Ice -I/usr/share/Ice/slice -I/usr/share/ice/slice -I/usr/share/slice ../Murmur.ice
|
|
|
|
```
|