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

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

Uploaded Source

Built Distribution

kea_exporter-0.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for kea-exporter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 87710b314a55ed7ade1b135e618dc2de1da324f00f4bf8bb9fb3652187285fe8
MD5 8bacd1fb2838cbd746727e4fdc58f803
BLAKE2b-256 4cfc2d2650b6d7366a2557f36bb20f1a72e75bc587b6913ac2d9a4a0f98fefea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kea_exporter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27d6d8f1dd2128db231ba34610b3cf32f3ee4877b31d987ed251685ba7a9e144
MD5 7d9cc5762a4db8f2b7630bf1c17bce3b
BLAKE2b-256 8b3f928957049359c4ff38e523df21294ad3135a62810493fa0ddb3503bb5ed5

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