35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
# prometheus-mumble
|
|
A simple interface to gather statistics from mumble
|
|
|
|
## 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
|
|
```
|
|
|
|
### 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.
|