Simple Prometheus exporter for getting metrics from a Freifunk network
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
build-arm.sh
generator.go
generator_test.go
main.go
metrics.go
metrics_test.go

README.md

freifunk-exporter

This is a small program to extract some metrics from a Freifunk network. The tool gets the nodes.json from a VPN server, parses it and converts it to metrics readable by a Prometheus server.

Usage

First go get github.com/xperimental/freifunk-exporter to download the source and compile the executable. Then you can run it like this:

$ freifunk-exporter -source http://host.of.vpn.server/nodes.json

Running on Raspberry Pi

If you want to run this tool on a Raspberry Pi you can use the included build-arm.sh to build a statically compiled executable for ARMv6.

This executable will, of course, not only work on RPi, but on any ARMv6 device.