kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
admindb-arpwatch-exporter

Description

This hook listens for leases the Kea server offers or renews and logs them into a Redis store. See ARPwatch Integration for the general design.

Status

The hook writes entries for the following key-prefixes into the given Redis stores:

  • ip2mac:STRING
  • mac2ip:LIST[STRING]
  • ip2macWithVLAN:STRING

The hook supports configuration via Hooks parameters, including support for writing to an arbitrary number of servers simultaneously.

Hook parameters

"parameters": {
"servers": [
// One entry per Redis server
{
"ip": /* IP-Address as string */,
"port": /* Port number as int */
}
]
}