dnsmasq_exporter

command module
Version: v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

dnsmasq exporter

Build Status

dnsmasq_exporter is an exporter for Prometheus, allowing you to monitor/alert on the number of DHCP leases and various DNS statistics.

The minimum required version of dnsmasq is 2.69, which added support for querying the statistics via DNS.

See also the “cache statistics” section in https://manpages.debian.org/stretch/dnsmasq-base/dnsmasq.8.en.html#NOTES

This is not an official Google product.

Installation

go get -u github.com/google/dnsmasq_exporter

Usage

Place dnsmasq_exporter.service in /etc/systemd/system/dnsmasq_exporter.service, then enable and start the service using:

systemctl daemon-reload
systemctl enable --now dnsmasq_exporter

Then, add the endpoint to your Prometheus configuration file:

scrape_configs:
  - job_name: dnsmasq
    static_configs:
      - targets: ['localhost:9153']

Documentation

Overview

Binary dnsmasq_exporter is a Prometheus exporter for dnsmasq statistics.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL