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

Features

  • DHCP4 Metrics (tested against Kea 1.1.0 only for now)

  • Querying via control sockets

  • Automatic config reload (through inotify)

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

Uploaded Source

Built Distribution

kea_exporter-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for kea-exporter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3cfbf1170a5c20bd6cb2681cac0fb81ca8ca172d187b43fdb58444313a6ddd31
MD5 cd86b62d5ba55a2e750a1797012505dd
BLAKE2b-256 f133691ca1a8864658dfabd707dd0b56055d3f2bfee2a9f697438987a06b46ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kea_exporter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d970c9095ad381c497c4153c8c029ac9ad1be2e0bfba8c0e2eb2d368047a0a7f
MD5 c3eb960c78c1b93e0059cda79c79bedd
BLAKE2b-256 08eb3ffdce5da9ba82c91c0b406832d0b2979c82cb9877f162c44a3ec7745f21

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