PowerDNS exporter for Prometheus

Preface

This is a fork of the original PowerDNS exporter from https://github.com/ledgr/powerdns_exporter based on the last commit 633ebaa348a20bab3db4339dd6494a1a235aee27.

The original project seems to be abandoned.

This fork removes the depenency for the osbolete Go version 1.5, adds go modules support and replace the github.com/prometheus/common/log module.

The prometheus/common/log module has been deprecated and removed in version 0.27.0 of the Prometheus client library, see https://github.com/prometheus/common/pull/306

The docker image and it's reference has been removed. A seperate docker image will not be provided as it can be easily build if the environment requires it.

PowerDNS Exporter

PowerDNS exporter for Prometheus

Periodically scrapes metrics via the PowerDNS HTTP-API and exports them via HTTP/JSON for consumption by Prometheus.

The following PowerDNS products are supported


Flags

Name Description Default
listen-address Host:Port pair to run exporter on :9120
metric-path Path under which to expose metrics for Prometheus /metrics
api-url Base-URL of PowerDNS authoritative server/recursor API http://localhost:8001/
api-key PowerDNS API Key -

The api-url flag value should be passed in this format:

  • PowerDNS server/recursor 3.x: http:// : /
  • PowerDNS server/recursor 4.x: http:// : /api/v1

Installation

Build the binary by running make build. A stripped and, if upx has been found compressed by UPX, binary can be obtained by running make strip.

List of make targets

Target name Description
all Same as make depend build strip install
build Build binary in bin/
clean Remove binary from bin/
depend Fetch dependencies
destdirs Create installation directories
distclean Remove build binary and dependency packages
install Same as make strip destdirs install-bin
install-bin Install binary in the filesystem under /usr/bin
strip Strip binary and compress binary using UPX if upx has been found
uninstall Remove binary from installation directory /usr/bin

Usage

See here for instructions on how to enable the HTTP API in PowerDNS.

Then run the exporter like this:

: /" -api-key=" " ">
bin/powerdns_exporter api-url="http://
      
       :
       
        /
        "
       
       -api-key="
      
       "
      

Show help:

bin/powerdns_exporter --help
Owner
Bobobo-bo Bo-bobo
I say we take off and nuke the entire site from orbit. It's the only way to be sure.
Bobobo-bo Bo-bobo
Similar Resources

Prometheus exporter for Chia node metrics

chia_exporter Prometheus metric collector for Chia nodes, using the local RPC API Building and Running With the Go compiler tools installed: go build

Sep 19, 2022

Nvidia GPU exporter for prometheus using nvidia-smi binary

Nvidia GPU exporter for prometheus using nvidia-smi binary

nvidia_gpu_exporter Nvidia GPU exporter for prometheus, using nvidia-smi binary to gather metrics. Introduction There are many Nvidia GPU exporters ou

Jan 5, 2023

Prometheus exporter for counting connected devices to a network using nmap

nmapprom Prometheus exporter for counting the hosts connected to a network using nmap · Report Bug · Request Feature Table of Contents About The Proje

Oct 17, 2021

an unofficial prometheus exporter for the Hochwassernachrichtendienst Bayern.

Hochwassernachrichtendienst Exporter an unofficial prometheus exporter for the Hochwassernachrichtendienst Bayern. Usage Usage of ./hochwassernachrich

Nov 2, 2022

NVIDIA GPU metrics exporter for Prometheus leveraging DCGM

DCGM-Exporter This repository contains the DCGM-Exporter project. It exposes GPU metrics exporter for Prometheus leveraging NVIDIA DCGM. Documentation

Dec 27, 2022

Prometheus exporter for Amazon Elastic Container Service (ECS)

ecs_exporter 🚧 🚧 🚧 This repo is still work in progress and is subject to change. This repo contains a Prometheus exporter for Amazon Elastic Contai

Nov 27, 2022

Prometheus exporter for Indian National Stock Exchange (NSE).

Open Stocks Exporter Prometheus exporter for stocks. Open-Stocks-Exporter uses Yahoo finance API under the hood, to fetch stock entities in real-time

Oct 9, 2021

Prometheus exporter for DeadMansSnitch

DeadMansSnitch Exporter Prometheus exporter for DeadMansSnitch information (snitches) Configuration Usage: deadmanssnitch-exporter [OPTIONS] Applic

Apr 6, 2022

A prometheus exporter for monitoring FIO nodeos nodes.

A prometheus exporter for monitoring FIO nodeos nodes.

fio-prometheus-exporter This is a simple prometheus exporter for FIO nodeos nodes. It can connect to multiple nodes to display a few critical statisti

Aug 19, 2022

Prometheus exporter for APC UPSes controlled by apcupsd

Prometheus exporter for APC UPSes controlled by apcupsd

Jun 19, 2022

A blockcypher exporter to monitor your blockchain nodes to Prometheus.

A blockcypher exporter to monitor your blockchain nodes to Prometheus. Metrics are retrieved using the BlockCypher REST API.

Nov 2, 2021

A Prometheus exporter, written in Golang, for Magento 2

Magento 2 Prometheus Exporter A Prometheus exporter, written in Golang, for Magento 2. Philosophy It might be abnormal to start with the "philosophy"

May 3, 2022

Prometheus exporter for ping metrics such as RTT, packet loss, and jitter to any number of hosts.

ping_exporter Command ping_exporter provides a Prometheus exporter for ping metrics such as RTT, packet loss, and jitter to any number of hosts. Usage

Sep 24, 2022

Prometheus exporter for podman

Prometheus exporter for podman Exports the following metrics for each running container CPU Usage Memory Usage Netowrk Usage Block Usage Output Exampl

Jul 5, 2022

A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2

A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2

CloudLinux LVE Exporter for Prometheus LVE Exporter - A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2 Help on flags: -h, --h

Nov 2, 2021

Prometheus exporter for openweathermap.org weather conditions

OpenWeatherMap Prometheus exporter This is prometheus exporter for Openweathermap current conditions at particular place. Building Build requires dock

Dec 6, 2022

Prometheus exporter for Hue Sensors

Prometheus exporter for Hue Sensors This program allows you to gather generic metrics on all your Philips Hue sensors with Prometheus. Installation In

Nov 17, 2021

Prometheus exporter of Hetzner Cloud inventory

Hetzner Cloud inventory exporter Prometheus exporter of Hetzner Cloud inventory Build Using docker Requires docker make build Locally Requires go buil

Dec 14, 2022

A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover

YAAE (Yet Another AWS Exporter) A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover About This exporter is meant to expo

Dec 10, 2022
Json-log-exporter - A Nginx log parser exporter for prometheus metrics

json-log-exporter A Nginx log parser exporter for prometheus metrics. Installati

Jan 5, 2022
Amplitude-exporter - Amplitude charts to prometheus exporter PoC

Amplitude exporter Amplitude charts to prometheus exporter PoC. Work in progress

May 26, 2022
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Kubernetes Vulnerability Exporter A Prometheus Exporter for managing vulnerabili

Dec 4, 2022
Netstat exporter - Prometheus exporter for exposing reserved ports and it's mapped process

Netstat exporter Prometheus exporter for exposing reserved ports and it's mapped

Feb 3, 2022
Go PowerDNS 4.x API Client

PowerDNS 4.x API bindings for Golang This community project provides bindings for the currently latest version of PowerDNS Authoritative Server. Featu

Dec 12, 2022
Prometheus Common Data Exporter can parse JSON, XML, yaml or other format data from various sources (such as HTTP response message, local file, TCP response message and UDP response message) into Prometheus metric data.
Prometheus Common Data Exporter can parse JSON, XML, yaml or other format data from various sources (such as HTTP response message, local file, TCP response message and UDP response message) into Prometheus metric data.

Prometheus Common Data Exporter Prometheus Common Data Exporter 用于将多种来源(如http响应报文、本地文件、TCP响应报文、UDP响应报文)的Json、xml、yaml或其它格式的数据,解析为Prometheus metric数据。

May 18, 2022
Github billing exporter - Billing exporter for GitHub organizations

GitHub billing exporter Forked From: https://github.com/borisputerka/github_bill

Nov 2, 2022
🦈 Prometheus exporter for pcap metrics

pcap-exporter ?? Prometheus exporter for pcap metrics Usage

Jun 5, 2022
⛅️ Prometheus metrics exporter for Cloudflare Analytics
⛅️ Prometheus metrics exporter for Cloudflare Analytics

cloudflare_exporter Prometheus metrics exporter for Cloudflare Analytics Description Prometheus metrics exporter for Cloudflare Analytics.

May 30, 2021
📡 Prometheus exporter that exposes metrics from SpaceX Starlink Dish
📡  Prometheus exporter that exposes metrics from SpaceX Starlink Dish

Starlink Prometheus Exporter A Starlink exporter for Prometheus. Not affiliated with or acting on behalf of Starlink(™) ?? Starlink Monitoring System

Dec 19, 2022