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.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for kea-exporter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b4ed96efedc2105a01ab12328abd55fcbcb5750702f6f5470128e6d4f3c87804
MD5 56daa7ec159ec52dec157bd590172dc6
BLAKE2b-256 4a75b7b4f35f52989b32fdf734da07c5453fc954e9e6ca6ffca0c51e83a51aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kea_exporter-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4088128af2a0407aaea6b5c81ca767350901f43b1652d069fd7c5961f22d0a
MD5 690377e4b337aa36cd859b8cec2d63f7
BLAKE2b-256 10127306779cfd8e5ef2af590cdd7c174936d6405617a4cb1a755fd45e63e829

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