This is a metrics exporter for sending statistics from sabnzbd (https://sabnzbd.org/) to prometheus (http://prometheus.io). Example scrape configurations and a grafana dashboard can be found in Examples
This exporter is configured by environment variables. There are 2 required environment variables
(Previously this module only supported a single server and so the environment variables were not pluralized SABNZBD_BASEURL & SABNZBD_APIKEY these values are still supported for backwards compatibility but the plural versions are preferred)
python3 -m venv .venv./.venv/bin/pip3 install -r requirements.txtSABNZBD_BASEURLS=http://<sabnzbd host/ip>:<port>/sabnzbd SABNZBD_APIKEYS=<apikey> ./.venv/bin/python3 sabnzbd_exporter.py
docker run \
-e SABNZBD_BASEURLS=http://<sabnzbd host/ip>:<port>/sabnzbd \
-e SABNZBD_APIKEYS=<apikey> \
-p 9387:9387 \
-d --restart=always \
-n sabnzbd_exporter \
msroest/sabnzbd_exporter
Common Labels
| Name | Description | Metric Type | Labels |
|---|---|---|---|
| sabnzbd_download_bytes | Total data download | Gauge | period |
| sabnzbd_server_download_bytes | Data download quantity by server | Gauge | server, period |
| sabnzbd_queue_size | Length of the current download queue | Gauge | |
| sabnzbd_queue_download_rate_bytes_per_second | Curent download rate | Gauge | |
| sabnzbd_queue_remaining_bytes | Queue bytes remaining | Gauge | |
| sabnzbd_queue_total_size_bytes | Queue total size bytes | Gauge | |
| sabnzbd_queue_remaining_seconds | Estimated queue time remaining | Gauge | |
| sabnzbd_paused | Is sabnzbd paused | Guage |
Python
93.9%
Dockerfile
6.1%
This is a metrics exporter for sending statistics from sabnzbd (https://sabnzbd.org/) to prometheus (http://prometheus.io). Example scrape configurations and a grafana dashboard can be found in Examples
This exporter is configured by environment variables. There are 2 required environment variables
(Previously this module only supported a single server and so the environment variables were not pluralized SABNZBD_BASEURL & SABNZBD_APIKEY these values are still supported for backwards compatibility but the plural versions are preferred)
python3 -m venv .venv./.venv/bin/pip3 install -r requirements.txtSABNZBD_BASEURLS=http://<sabnzbd host/ip>:<port>/sabnzbd SABNZBD_APIKEYS=<apikey> ./.venv/bin/python3 sabnzbd_exporter.py
docker run \
-e SABNZBD_BASEURLS=http://<sabnzbd host/ip>:<port>/sabnzbd \
-e SABNZBD_APIKEYS=<apikey> \
-p 9387:9387 \
-d --restart=always \
-n sabnzbd_exporter \
msroest/sabnzbd_exporter
Common Labels
| Name | Description | Metric Type | Labels |
|---|---|---|---|
| sabnzbd_download_bytes | Total data download | Gauge | period |
| sabnzbd_server_download_bytes | Data download quantity by server | Gauge | server, period |
| sabnzbd_queue_size | Length of the current download queue | Gauge | |
| sabnzbd_queue_download_rate_bytes_per_second | Curent download rate | Gauge | |
| sabnzbd_queue_remaining_bytes | Queue bytes remaining | Gauge | |
| sabnzbd_queue_total_size_bytes | Queue total size bytes | Gauge | |
| sabnzbd_queue_remaining_seconds | Estimated queue time remaining | Gauge | |
| sabnzbd_paused | Is sabnzbd paused | Guage |
Python
93.9%
Dockerfile
6.1%