mumble_exporter

command module
v0.0.0-...-4975a33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 14 Imported by: 0

README

Mumble Prometheus Exporter

exports mumble / murmur server stats by using the mumble ping protocol

Prometheus Configuration

The exporter expects a single HTTP parameter named host that must include a port, i.e. mumble.example.com:1337.

You can test if your the exporter works correctly with

curl "localhost:8778/metrics?host=mumble.example.com:64738"

Prometheus job example

scrape_config

 - job_name: 'mumble'
    scrape_interval: 120s
    scheme: http
    static_configs:
      - targets: # list of monitored mumble servers
        - 'mumble.example.com:64738' 
        - 'bumble.example.com:64738'
    relabel_configs:
    - source_labels: [__address__]
      target_label: __param_host
    - source_labels: [__param_host]
      target_label: instance
    - target_label: __address__
      replacement: "127.0.0.1:8778" # address of host running the exporter

Credits

based on https://github.com/mumble-voip/mumble-scripts/blob/master/Non-RPC/mumble-ping.py

2022 Maximilian Güntner code@mguentner.de

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL