Skip to main content

Export Kea Metrics in the Prometheus Exposition Format

Project description

Prometheus Exporter for the ISC Kea DHCP Server.


The latest stable version can be installed from PyPi:

$ pip install kea-exporter

and upgraded with:

$ pip install --upgrade kea-exporter


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

Known Limitations

  • Include statements in Kea’s configuration file are unsupported


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

  --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:


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
kea_exporter-0.3.3-py3-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel 3.7
kea-exporter-0.3.3.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page