Re: [Kea-users] Can KEA trigger webhooks?

2022-12-22 Thread Frey, Rick E via Kea-users
Definition of “real webhook” can/will vary with each user. I’m not aware of any Kea hook that is designed to make an HTTP API call. List of available hooks provided by ISC: https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#available-hook-libraries Likely that writing a tool/script to make

Re: [Kea-users] Kea-Lease documentation

2022-12-22 Thread Darren Ankney
In kea that is handled periodically by kea-lfc (https://kea.readthedocs.io/en/kea-2.2.0/man/kea-lfc.8.html). Kea executes this process periodically, but you can run it yourself as well, if you like. > On Dec 22, 2022, at 5:33 AM, Kraishak Mahtha wrote: > > Hi Marcin, > > Thanks for the quick

Re: [Kea-users] Can KEA trigger webhooks?

2022-12-22 Thread Darren Ankney
I believe the short answer would be no. However, as you noted, there is the call to run an external script. You might be able to do something with that. If you are just wanting lease information out of Kea when it allocates a lease to someone, have a look at the HA hook (https://kea.readthedo

[Kea-users] Can KEA trigger webhooks?

2022-12-22 Thread Michael Schwartzkopff via Kea-users
Hi, I read about the run_script hook that sets some variables and calls a simple bash script. Can kea call real webhooks and pass the variables as json? Michael. -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ fo

Re: [Kea-users] Kea-Lease documentation

2022-12-22 Thread Kraishak Mahtha
Hi Marcin, Thanks for the quick response and sharing the information and clarifying my doubts, but I do have some more doubts even after changing the scope defined in the config and restarting the service the lease file still has some old range entries generally in ISC DHCP if there is a change in

Re: [Kea-users] Kea-Lease documentation

2022-12-22 Thread Marcin Siodelski
On 22.12.2022 10:52, Kraishak Mahtha wrote: Hi All, I am trying to understand the kea-lease file format and I came across the option state where it decides the lease state To my understanding, the state 0 indicates an active lease and 2 indicates the expiry but sometimes I see the binding stat

[Kea-users] Kea-Lease documentation

2022-12-22 Thread Kraishak Mahtha
Hi All, I am trying to understand the kea-lease file format and I came across the option state where it decides the lease state To my understanding, the state 0 indicates an active lease and 2 indicates the expiry but sometimes I see the binding state as 1 but not sure what that means, and I am un