OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

dhcpd_leases_exporter-0.2.3

prometheus exporter for dhcpd(8) leases file

Back to search · Project homepage

Description

This exporter consumes the dhcpd.leases file which is periodically written by the dameon. It has two collectors: The Stats collector counts the number of leases PER UNIQUE IP found in dhcpd.leases. This means that if an IP was leased to client X, but is now leased to client Y, there will be only one entry counted (the most recent one). This is in line with how dhcpd reads the file. The Leases collector will create a vector gague for each client with an active DHCP lease found in dhcpd.leases. Because this collector may produce tons of short-lived vectors depending on how busy DHCPD is, it is disabled by default

Package information

Ports path
sysutils/dhcpd_leases_exporter
Package architecture
amd64
Maintainer
Pascal Stumpf <pascal@stumpf.co>
Categories
sysutils, lang/go
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, riscv64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Installing and updating packages · Package details as JSON