Re: [Kea-users] How do I list current IPv4 leases? (OPEN)

2023-06-06 Thread Darren Ankney
Hi, First, have a look in your DHCP4 Kea configuration and locate the socket statement which should look something like this: "control-socket": { "socket-type": "unix", "socket-name": "/tmp/kea-dhcp4-socket" }, Make sure your kea-ctrl-agent is connecting to that socket which

Re: [Kea-users] How do I list current IPv4 leases? (OPEN)

2023-06-06 Thread Weisteen Per
Hi Thanks, I'll try to keep this conversation OPEN 😉 I'm running HA setup and has kea-ctrl-agent on port 8001 on my primary server (10.123.97.212) and tried kea-shell : kea-shell --host 10.123.97.212 --port 8001 --service dhcp4 lease4-get-all but I'm just receiving a Connection Timeout after se

Re: [Kea-users] How do I list current IPv4 leases? (INTERNAL)

2023-06-06 Thread Kevin P. Fleming
On Tue, Jun 6, 2023, at 07:28, Weisteen Per wrote: > Hi I'm replying even though this was apparently an "INTERNAL" message :-) > > Simple question, how do I get a list of all current leases when using > memfile as database backend? Regardless of the backend, the 'lease_cmds' hook library is wha

[Kea-users] How do I list current IPv4 leases? (INTERNAL)

2023-06-06 Thread Weisteen Per
Hi Simple question, how do I get a list of all current leases when using memfile as database backend? Initially I thought I could just get correct data from /var/lib/kea/kea-leases4.csv by parsing that file using a Python script. Unfortunately, that doesn't seem to always give me the complete