mweinelt / kea-exporter

Export Kea Metrics in the Prometheus Exposition Format
MIT License
34 stars 17 forks source link

Fix for large subnet definitions and ability to work with Kea 1.5 #11

Closed HristoMohamed closed 5 years ago

HristoMohamed commented 5 years ago

Hi, I have never used Kea 1.3, but I guess some stuff changed between 1.3 and 1.5

I tested it with the Kea 1.5 Dhcp4 client and it exports the metrics correctly. (Also works when subnets are not defined in order i.e subnet[5] -> subnet[1] -> subnet[6] )

mweinelt commented 5 years ago

Subnet ids will be looked up from the configuration returned from the control socket, so we're using that instead.

Thank you, and sorry for not replying earlier.