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
Release history Release notifications | RSS feed
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.3.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for kea_exporter-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feddbcd8e725a8d3ccf5554c387a4244db93d62735fd69f10bbfffeb1cbd89b2 |
|
MD5 | 09b2b11f6de6f495674fdf32f54663a1 |
|
BLAKE2b-256 | dea1e222a757e23a0fec91d1dc8bbd5fd0759b0b72d9a4377bf6f9a775c21398 |