Prometheus exporter for the modem connection status of UPC Connect Boxes
Project description
Connectbox Prometheus
A Prometheus exporter for the modem connection status of UPC Connect Boxes (used by Unitymedia in Germany, Irish Virgin Media, Ziggo in the Netherlands, and probably several others).
Makes thorough use of python-connect-box by @fabaff (thanks!).
Installation
You need python3.6 or higher. Run:
$ pip3 install connectbox-prometheus
Usage
./connectbox_exporter --pw YOUR_CONNECTBOX_PASSWORD
To see all options, run ./connectbox_exporter --help
Prometheus Configuration
scrape_configs:
- job_name: 'connectbox'
static_configs:
- targets:
- 192.168.0.1 # IP address of your Connect Box
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9705 # The exporter's real hostname:port.
Exported Metrics
Metric name | Description |
---|---|
connectbox_up |
Connect Box reachable yes/no |
connectbox_num_devices |
Number of connected devices |
connectbox_downstream_frequency_hz |
Downstream channel frequency |
connectbox_downstream_power_level_dbmv |
Downstream channel power level |
connectbox_downstream_modulation_qam |
Downstream channel modulation |
connectbox_downstream_signal_to_noise_db |
Downstream channel signal-to-noise |
connectbox_downstream_errors_pre_rs_total |
Downstream channel errors before Reed-Solomon correction |
connectbox_downstream_errors_post_rs_total |
Downstream channel errors after Reed-Solomon correction |
connectbox_downstream_qam_locked |
Downstream channel QAM lock status |
connectbox_downstream_freq_locked |
Downstream channel frequency lock status |
connectbox_downstream_mpeg_locked |
Downstream channel MPEG lock status |
connectbox_upstream_frequency_hz |
Upstream channel frequency |
connectbox_upstream_power_level_dbmv |
Upstream channel power level |
connectbox_upstream_symbol_rate_ksps |
Upstream channel symbol rate |
connectbox_upstream_modulation_qam |
Upstream channel modulation |
connectbox_upstream_timeouts_total |
Upstream channel timeouts |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for connectbox-prometheus-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a1791f4f1d6df4a479a836b06c907cdac1033ca609980fe911e9a112e48cf0 |
|
MD5 | 3b900fc14bae2ece530bca896aedad0e |
|
BLAKE2b-256 | 08cccfe66c80bcac336489f0cf56d31408e902611fee6593730eff20ec99ddaf |
Close
Hashes for connectbox_prometheus-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c624528ca3d774e47099893d7f12c60e6833e5dc1f3a48c14ef7e0d5e0bc7b |
|
MD5 | ace80dbee23062f544d1e4e1bcab094f |
|
BLAKE2b-256 | 06804ec37a3d81f35d5c58b9492405cb7494d992f7b0e96fee4bc615b3f25e6f |