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

Uploaded Source

Built Distribution

kea_exporter-0.3.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kea-exporter-0.3.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for kea-exporter-0.3.2.tar.gz
Algorithm Hash digest
SHA256 65734e094c4e838cf5dda9159a1eaa55754003324730e7ac73206007180bb206
MD5 836326a4d0024cd1dbedeaaadd69339a
BLAKE2b-256 5a058aaa016c1d95db3b577c1812b46db4dc9fba83d5a5abd4be1596a3fa41ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kea_exporter-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb7c0adf85328c3de72a008abb3f00e79f02638fc4b08dd6bd326ad4b50ab743
MD5 ff44e01457648cb516a3ee04c94abbb7
BLAKE2b-256 b24f397bbc32a57121cfbd67de15253eee1176fd750e03ebac7489e73456939f

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