Prometheus exporter for DVB adapters using https://github.com/ziutek/dvb
This is a simple server that takes all DVB adapters from /dev/dvb and scrapes
stats from each adapter and exports them via HTTP for Prometheus consumption.
dvb_signal: Signal strength in %dvb_snr: SNR in %dvb_ber: BER - amount of errorsdvb_lock: Lock (1 or 0)Each metric has labels adapter (adapter number).
Additionally, a dvb_up metric reports whether the exporter
is running (and in which version).
To run the exporter:
$ ./dvb_exporter [options]
Help on flags:
$ ./dvb_exporter --help
Getting the results for testing via cURL:
$ curl http://localhost:9437/metrics
https://hub.docker.com/r/freeman1988/dvb_metrics_exporter
To run the dvb_exporter as a Docker container, run:
$ docker run -p 9437:9437 -v /dev/dvb/:/dev/dvb/:ro --name dvb_exporter freeman1988/dvb_metrics_exporter
Simply fork and create a pull-request. We'll try to respond in a timely fashion.
Content type
Image
Digest
Size
8 MB
Last updated
almost 6 years ago
docker pull freeman1988/dvb_metrics_exporter