ConnectBox Exporter
![Codecov](https://codecov.io/gh/tetafro/connectbox-exporter/branch/master/graph/badge.svg)
WORK IN PROGRESS
A Prometheus exporter for ConnectBox routers used by Ziggo internet provider
in the Netherlands.
Mostly copied from compal_CH7465LG_py
and connectbox-prometheus.
Run
Use docker
Create a config file config.yml
(example).
docker run -d \
--volume /host-dir/config.yml:/etc/prometheus/connectbox-exporter.yml \
--publish 9119:9119 \
--name connectbox-exporter \
ghcr.io/tetafro/connectbox-exporter:latest
Download binary
Download and unpack latest release.
Create a config file config.yml
(example).
Run
./connectbox-exporter -config config.yml
Build from sources
Clone the repository
git clone git@github.com:tetafro/connectbox-exporter.git
cd connectbox-exporter
Copy and populate config
cp config.example.yml config.yml
Build and run
make build run
Get metrics
Get exporter internal metrics
curl 'http://localhost:9119/metrics'
Get ConnectBox metrics
curl 'http://localhost:9119/probe?target=192.168.178.1'