skip to navigation
skip to content

kea-exporter 0.2.2

Export Kea Metrics in the Prometheus Exposition Format

Latest Version: 0.3.0

Prometheus Exporter for the ISC Kea DHCP Server.

Installation

The latest stable version can be installed from PyPi:

$ pip install kea-exporter

and upgraded with:

$ pip install --upgrade kea-exporter

Features

  • DHCP4 & DHCP6 Metrics (tested against Kea 1.1.0 only)
  • Querying via control sockets
  • Automatic config reload (through inotify)

Known Limitations

  • Include statements in Kea’s configuration file are unsupported

Usage

Usage: kea-exporter [OPTIONS] CONFIG COMMAND [ARGS]...

Options:
  --address TEXT      Specify the address to bind against.
  --port INTEGER      Specify the port on which to listen.
  --interval INTEGER  Specify the metrics update interval in seconds.
  --help              Show this message and exit.

Configure Control Socket

The exporter uses Kea’s control socket and the statistic-get-all request. Consult the documentation on how to set up the control socket:

Permissions

Kea Exporter needs to be able to read and write on the socket, hence it’s permissions might need to be modified accordingly.

 
File Type Py Version Uploaded on Size
kea-exporter-0.2.2.tar.gz (md5) Source 2017-12-07 4KB
kea_exporter-0.2.2-py3-none-any.whl (md5) Python Wheel 3.6 2017-12-07 6KB