1.2 KiB
1.2 KiB
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:
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:
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 at the Mumble wiki; it also includes detailed information about the PHP and Python clients, including how to update the client.
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