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
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
Built Distribution
File details
Details for the file kea-exporter-0.2.2.tar.gz
.
File metadata
- Download URL: kea-exporter-0.2.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b62750a1a9b723127cd1546aaad9be0fae94fe96cb25bd9aed2e669fee1eeccb |
|
MD5 | ff1b0cb244992c1c51c95672866ee515 |
|
BLAKE2b-256 | f8c7cd5bd61bf67ffbd2cb402e1c6858b75c87c92634a5da25ca3a7fe40bc5f8 |
File details
Details for the file kea_exporter-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: kea_exporter-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69160d76461090291c2d518a9c5f26413102ba729a763ceba2f91ca52bbc765d |
|
MD5 | e14ade0724041061319eff3927965f0e |
|
BLAKE2b-256 | 71efdcbbfca3c54b122bcdee00e0006aa209545cd7775117e68bf458ccc087bb |