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
Built Distribution
File details
Details for the file kea-exporter-0.3.0.tar.gz
.
File metadata
- Download URL: kea-exporter-0.3.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4ed96efedc2105a01ab12328abd55fcbcb5750702f6f5470128e6d4f3c87804 |
|
MD5 | 56daa7ec159ec52dec157bd590172dc6 |
|
BLAKE2b-256 | 4a75b7b4f35f52989b32fdf734da07c5453fc954e9e6ca6ffca0c51e83a51aff |
File details
Details for the file kea_exporter-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kea_exporter-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4088128af2a0407aaea6b5c81ca767350901f43b1652d069fd7c5961f22d0a |
|
MD5 | 690377e4b337aa36cd859b8cec2d63f7 |
|
BLAKE2b-256 | 10127306779cfd8e5ef2af590cdd7c174936d6405617a4cb1a755fd45e63e829 |