Skip to content

tetafro/connectbox-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Denis Krivak
Sep 9, 2023
8245706 · Sep 9, 2023

History

46 Commits
Sep 3, 2023
Sep 9, 2023
Sep 3, 2023
Sep 3, 2023
Sep 4, 2023
Sep 3, 2023
Sep 8, 2023
Sep 4, 2023
Sep 9, 2023
Sep 8, 2023
Sep 9, 2023
Sep 8, 2023
Sep 4, 2023
Sep 3, 2023
Sep 9, 2023
Sep 8, 2023
Sep 8, 2023
Sep 4, 2023
Sep 8, 2023
Sep 8, 2023
Sep 8, 2023

Repository files navigation

ConnectBox Exporter

License Github CI Go Report Codecov

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'