Skip to content

ventifus/unbound_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Unbound exporter

Please note: This repository is currently unmaintained. Due to insufficient time and not using the exporter anymore we decided to archive this project.


This repository provides code for a simple Prometheus metrics exporter for the Unbound DNS resolver. This exporter connects to Unbounds TLS control socket and sends the stats_noreset command, causing Unbound to return metrics as key-value pairs. The metrics exporter converts Unbound metric names to Prometheus metric names and labels by using a set of regular expressions.


Installation

To install this code and in your go environment. You can then add the binary to your PATH.

go get github.com/kumina/unbound_exporter
go install github.com/kumina/unbound_exporter

Usage

To show all CLI flags available

unbound_exporter -h

For extended statistics, you may want to add the following to your unbound.conf

# statistics
extended-statistics: yes

About

A Prometheus exporter for Unbound.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.7%
  • Shell 2.3%