Export Kea Metrics in the Prometheus Exposition Format
Project description
kea-exporter
Prometheus Exporter for the ISC Kea DHCP Server.
From v0.4.0 on Kea >=1.3.0 is required, as the configuration, specifically subnet information, will be read from the control socket.
Installation
The latest stable version can always be installed from PyPi:
$ pip install kea-exporter
and upgraded with:
$ pip install --upgrade kea-exporter
Features
DHCP4 & DHCP6 Metrics (tested against Kea 1.6.0)
Configuration and statistics via control socket
Currently not working:
Automatic config reload (through inotify)
Known Limitations
The following features are not supported yet, help is welcome.
HTTP REST API (as a means to query a Kea instance)
Shared Networks
Custom Subnet Identifiers
Usage
Usage: kea-exporter [OPTIONS] SOCKETS... 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. --version Show the version and exit. --help Show this message and exit.
Configure Control Socket
The exporter uses Kea’s control socket to request both configuration and statistics. 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.
Grafana-Dashboard
A dashboard for this exporter is available at https://grafana.com/grafana/dashboards/12688.
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.5.0.tar.gz
.
File metadata
- Download URL: kea-exporter-0.5.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4525b51d2b5f3d5ef28ae2e0188b8c8d2def3d7cfc3f7be6b5fc3ab431d7a7aa |
|
MD5 | c7b7b3c4e6ae817cc93cb5891b7dd62a |
|
BLAKE2b-256 | 78334c2d82a25a40ac9271c44f870e9f41c1951e006bc71f34fe9016d6d0141a |
File details
Details for the file kea_exporter-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: kea_exporter-0.5.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6af019e604b255b19f37f2ae1e1b06ee2b1c0eb4d72bbe1c66eb93084e0a9f9 |
|
MD5 | 5a4d1855ce7a03f1297b1155087a4f8d |
|
BLAKE2b-256 | 267e84a62fe195d0c07c105c66a991f6d94bbcdca3f879857a52152cd6fede94 |