No description
  • Go 62.1%
  • Nix 37.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-05-31 03:55:19 +02:00
.github Add CI/CD Pipeline 2023-03-28 10:34:32 +02:00
contrib/etc user DynamicUser in systemd unit 2022-09-12 14:19:34 +02:00
.goreleaser.yml Add CI/CD Pipeline 2023-03-28 10:34:32 +02:00
default.nix chore: update nixpkgs-unstable, use vendorHash 2024-05-31 03:55:19 +02:00
flake.lock chore: update nixpkgs-unstable, use vendorHash 2024-05-31 03:55:19 +02:00
flake.nix add nixos module and test 2022-09-12 03:32:34 +02:00
go.mod initial commit 2022-09-11 22:15:11 +02:00
go.sum initial commit 2022-09-11 22:15:11 +02:00
handlers.go check for error in registry creation 2022-09-12 00:38:51 +02:00
LICENSE add LICENSE 2022-09-12 20:46:26 +02:00
main.go initial commit 2022-09-11 22:15:11 +02:00
nixos-module.nix add nixos module and test 2022-09-12 03:32:34 +02:00
nixos-test.nix add nixos module and test 2022-09-12 03:32:34 +02:00
README.md fix default port number typo 2023-08-28 13:02:25 +02:00

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