Skip to content

ar51an/unbound-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unbound exporter

unbound   visitors   license

Summary

🔸 Exports Unbound DNS server statistic as Prometheus metrics.
🔸 unbound-exporter is tailored for unbound-dashboard. Dashboard release includes:
      ➟ Prebuilt unbound-exporter binary for arm64.
      ➟ Service to automatically run exporter at startup.
🔸 Unbound setup is available at unbound-redis.

Prerequisite:

  • Go 1.19 or later.

Compile:

  • Copy go.mod, go.sum & unbound-exporter.go from this repo to local dir.

  • Run below cmds:

    Download dependencies:
    go mod tidy

    Build:
    go build

    Reduce size:
    strip unbound-exporter

    ℹ️ Note:
    Make sure .../go/bin is in the PATH.

Usage

  • unbound-exporter -h

    Usage