... | ... | @@ -145,10 +145,10 @@ There is a Kea exporter for Prometheus available publicly [here](https://github. |
|
|
$ pip install kea-exporter
|
|
|
```
|
|
|
|
|
|
The python3 is required to run the Kea exporter. The following command line enables the Kea exporter with the Kea DHCPv4 server:
|
|
|
The python3 is required to run the Kea exporter. Note the usage has been changed recently. Versions earlier to 0.4.0 specified config file. Version 0.4.0 now lets you specify socket path. The following command line enables the Kea exporter with the Kea DHCPv4 server:
|
|
|
|
|
|
```
|
|
|
sudo kea-exporter /usr/local/etc/kea/kea-dhcp4.conf
|
|
|
sudo kea-exporter --port 9547 /tmp/kea-dhcp4-ctrl.sock
|
|
|
```
|
|
|
|
|
|
The exporter infers the (UNIX domain) control socket configuration from the Kea configuration file. It also looks into the subnets configuration to determine the identifiers of the subnets in use. The exporter by default starts the service on the local host, port 9547.
|
... | ... | @@ -158,7 +158,7 @@ The Kea exporter was designed to gather statistics from both DHCPv4 and DHCPv6 s |
|
|
The Kea exporter for the second server can be run using different port number, e.g.:
|
|
|
|
|
|
```
|
|
|
sudo kea-exporter --port 19547 /usr/local/etc/kea/kea-dhcp6.conf
|
|
|
sudo kea-exporter --port 19547 /tmp/kea-dhcp6-ctrl.sock
|
|
|
```
|
|
|
|
|
|
TODO: Describe the bugfix.
|
... | ... | |