You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a metrics exporter for sending statistics from sabnzbd (https://sabnzbd.org/) to prometheus (https://prometheus.io). Example scrape configurations and a grafana dashboard can be found in Examples
Configuration
This exporter is configured by environment variables. There are 2 required environment variables
SABNZBD_BASEURLS - Comma seperated list of sabnzbd servers to connect to in the fomat https://<sabnzbd host/ip>:<port>/sabnzbd
SABNZBD_APIKEYS - Comma seperated list of API keys. Positionally each API key must be for the same server as in the equivilent position of the SABNZBD_BASEURLS
(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)
Running/Developing
Create a new python virtual env python3 -m venv .venv
Install the required modules into your venv ./.venv/bin/pip3 install -r requirements.txt