Skip to main content

Export Kea Metrics in the Prometheus Exposition Format

Project description

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.3.0)

  • 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.

Project details


Download files

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

Source Distribution

kea-exporter-0.3.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

kea_exporter-0.3.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file kea-exporter-0.3.1.tar.gz.

File metadata

File hashes

Hashes for kea-exporter-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8ed6031e3a1bf2bb320a91a56bce331b1ec35920426ac35a183b1c92badd1ea6
MD5 4e42f3d3ed9f2eb4e9987420b6d93f95
BLAKE2b-256 2a102e54f2b14c0c60ad95870c346fa365d011aeaf350588e14a98b7a06ce58e

See more details on using hashes here.

File details

Details for the file kea_exporter-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kea_exporter-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79bb1c3c7045c276fcba5af6695de26fbb2b069feca413e0c829970f55d7c604
MD5 fb1b18d85f5aa3676c8cf951f3c8349f
BLAKE2b-256 e4425bd6ebe9b40159a45940b14881a330f7cc62e3479123a41ff2ad3f686ab1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page