{"repo":"brioche-works/technitium-dns-prometheus-exporter","free":true,"listed":false,"github":"https://github.com/brioche-works/technitium-dns-prometheus-exporter","clone":"git clone https://github.com/brioche-works/technitium-dns-prometheus-exporter.git","description":"Prometheus exporter for the Technitium DNS server","language":"TypeScript","stars":23,"topics":["prometheus-exporter","technitium-dns-server"],"license":"GPL-3.0","category":"networking-infra","readme_excerpt":"Technitium DNS Prometheus Exporter Basic requirements For the exporter to retrieve data, we need an access token for the Technitium DNS API. For this, one should create a group which can only access the dashboard in \"View\" mode and nothing else. Then, create a dedicated user in that group and an access token for this user. All of this can be managed in the \"Administration\" tab of the DNS server's web interface. Run with Docker (recommended) The metrics are then available at http://127.0.0.1:8080/metrics . Here is a more complete example of a deployment alongside the actual DNS server using a compose file : [!NOTE] The Technitium DNS compose example above is very minimal. Before deploying your own instance, it might be nice to check the example compose file and the environment variables documentation. If you forget to enable some features, you can always do it later via the UI. A note on environment variables In order to enable monitoring several DNS servers with the same exporter, environment variables are managed in a special way. A server is defined by two environment variables : - TECHNITIUM API BASE URL : the URL at which the server can be accessed (without the API path) - TECHNITIUM API TOKEN : the API token The variable part represented by a is a kind of identifier, it can only contain numbers, uppercase letters and underscores. In the metrics, it is exported in lowercase as the server label. For instance if one were to set TECHNITIUM API MY DNS BASE URL / TECHNITIUM AP","default_branch":null,"files":null,"tree":[],"storefront":"/r/brioche-works","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brioche-works/technitium-dns-prometheus-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}